firasdib / Regex101

This repository is currently only used for issue tracking for www.regex101.com
3.21k stars 198 forks source link

The inline flag `(?a)` doesn't work (Python) #2003

Closed Serious54088 closed 1 year ago

Serious54088 commented 1 year ago

Pattern: (?a)\w+

String: 你好hello

image

(?a) make \w perform ASCII-only matching, the correct result should be: hello .

firasdib commented 1 year ago

Thank you, this will be adjusted in the next release.

Serious54088 commented 1 year ago

This is an automatic reply, confirming that your email was received. I will reply as soon as possible. Thank you!