Skip to content

Commit cd17cf8

Browse files
author
webdev778
committed
Ensure word alias is compatible with Ruby
This fixes an issue with odni-che-Cyrl-Latn-2015
1 parent fc92b3e commit cd17cf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interscript/stdlib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"whitespace": "[\\b \\t\\0\\r\\n]",
88
"boundary": "\\b",
99
"non_word_boundary": "\\B",
10-
"word": "\\w",
11-
"not_word": "\\W",
10+
"word": "[a-zA-Z0-9_]",
11+
"not_word": "[^a-zA-Z0-9_]",
1212
"alpha": "[a-zA-Z]",
1313
"not_alpha": "[^a-zA-Z]",
1414
"digit": "\\d",

0 commit comments

Comments
 (0)