You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fix this we would need to replace all \w everywhere with \p{L} which is only supported since Chrome 64 and Firefox 78. We can do it once we migrate to ManifestV3.
To fix this we would need to replace all \w everywhere with \p{L} ..... once we migrate to ManifestV3.
Thanks! At the same time, new regular knowledge was learned!
A tip: \p{L} ≠ \w, \p{L} does not contain _ and \d
online test: regex101.com/r/5zw6fF/latest
Normal behavior of
\w+
(ANSI characterSet) tokensDouble-clicking selects the tokens of
.aa
#cc
ee
--radius
abcde
, are perfectly correct!Abnormal behavior of contains non-ANSI characterSet tokens
Double-clicking selects the tokens of
.测试
.a测试a
#测试
看看
--半径
转圈圈
, would not behave as expected.Screenshot
Only when there are blank-spaces(
\s
) before and after the tokens can they be correctly selected.\p{L}
: regex101.com/r/5zw6fF/latestThe text was updated successfully, but these errors were encountered: