RegEx misses unicode bullet
Posted: 06 Jul 2020, 18:38
I'm using AHK2 (version a108) to process text with some non-ascii characters. I cut it from the clipboard into an array, delimiting at `n:
...and I want to remove the start of lines up to the bullet character (U+2022).
But, AHK seems not to recognise the bullet character - the RegEx line does nothing. AHK a113 has the same problem. Is this part of a larger problem with non-ascii characters? Is there a workaround?
Code: Select all
PageArray := StrSplit(Clipboard , "`n")
Code: Select all
Line := RegExReplace(Line , "^(?:.+?•)(.+?)" , "$1")