Closed melisa-writer closed 4 years ago
ENG-7251 Allow matching tokens separated by multiple whitespaces
They may appear after normalizing nonstandard whitespaces ex. "Here␣is␣a\u180E\u200Bproblem." -> "Here␣is␣a␣␣problem."
"Here␣is␣a\u180E\u200Bproblem."
"Here␣is␣a␣␣problem."
pattern can be preceded and followed by whitespace tokens to keep preceded_by... and succeeded_by... match hooks working
preceded_by...
succeeded_by...
edit: support passing both text and doc (avoiding double conversion)
ENG-7251 Allow matching tokens separated by multiple whitespaces
They may appear after normalizing nonstandard whitespaces ex.
"Here␣is␣a\u180E\u200Bproblem."
->"Here␣is␣a␣␣problem."
pattern can be preceded and followed by whitespace tokens to keep
preceded_by...
andsucceeded_by...
match hooks workingedit: support passing both text and doc (avoiding double conversion)