amber
amber copied to clipboard
Regex issues
Example
1. 「ことの葉は強 (こは) く見ゆれどすまひ草露には―・つるものにざりける」〈[源順集](https://dictionary.goo.ne.jp/word/person/%E6%BA%90%E9%A0%86/#jn-212920)〉
Issues
^ 1. 「(.+)\n(?! 2.)expected to work but failed to match, does amber support Negative Look Ahead?^ 1. 「(.+)\nmatching works but replacing does not, it failed to capture.>「$1replacement result:Expected:
1. 「ことの葉は強 (こは) く見ゆれどすまひ草露には―・つるものにざりける」〈[源順集](https://dictionary.goo.ne.jp/word/person/%E6%BA%90%E9%A0%86/#jn-212920)〉Returned:> 1. 「- As other have reported, amber does not support
\nin replacement string.
As far as Negative Look Ahead, it looks like rust regex chooses to not have look aheads because of unpredictable performance.
- https://github.com/rust-lang/regex/issues/127