Andrew Davis
Andrew Davis
This issue title is ironic for me, because I found krop while looking for a replacement for a Linux replacement the built-in Preview.app on macOS. It has excellent cropping and...
I came to report this underlying issue as well, the `updateOnSave` setting is ignored, always updates, at least on Linux and MacOS. Apparently this issue dates from the [original repo](https://github.com/AlanWalk/markdown-toc/issues/59)...
Note this issue isn't really about regex, but [ANSI C Escape Sequences](https://en.wikipedia.org/wiki/Escape_sequences_in_C#Table_of_escape_sequences), of which `\t`, `\n`, and `\\` are really common. These can be expanded e.g. in a Bash shell...
This addresses an edge case where an argument like `-a--` is passed, when `-a` is a valid short option. In that case, the `getopts` built-in would stop parsing arguments after...
starting the optspec string with a space also works if you change the getopts call on line 20 to `builtin getopts -- ...`.