KM9 Search and Replace with RegEx Bug
EDIT: 2019-11-02 14:33 GMT-5
- Actual Bug turned out to be different from originally posted
- See Post #2 for the actual bug
KM9 is replacing with characters NOT called for in Replace with field.
Steps to Reproduce
Search for:
(?m)^
Replace with:
<p>
Example Output
Expected results were confirmed with:
- https://regex101.com/r/QpORCS/1/
- BBEdit 12
MACRO: KM9 Bug -- Replace Start of Line @TEST
~~~ VER: 1.0 2019-11-01 ~~~
Requires: KM 8.2.4+ macOS 10.11 (El Capitan)+
(Macro was written & tested using KM 9.0+ on macOS 10.14.5 (Mojave))
DOWNLOAD Macro File:
KM9 Bug -- Replace Start of Line @TEST.kmmacros
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.