Hacker News new | ask | show | jobs
by athorax 312 days ago
Base64 encoded yaml files will also be LS-prefixed if they have the document marker (---)
1 comments

That's right, I've added an errata to clarify. Thanks for the heads up!
You can increase the guess accuracy a little by looking for the "tLS" characters , skipping the first 3 chars. Also this is a mnemonic about TLS and identifies all strings starting with 5 dashes, excluding so most of yaml documents