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
Copy file name to clipboardExpand all lines: README.md
-8Lines changed: 0 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,13 +7,6 @@ Design is inspired by Rob Pike's regex-code for the book *"Beautiful Code"* [ava
7
7
8
8
Supports a subset of the syntax and semantics of the Python standard library implementation (the `re`-module).
9
9
10
-
### Current status
11
-
All supported regex-operators seem to work properly according to the test-set, with the following exception:
12
-
13
-
There is a problem with ranges (e.g. `[0-9]` for a digit 0-9) combined with inverted character-cases, e.g. `[^ab]` for anything but 'a' or 'b' - like `[^-0-9]` for anything not '-' or a digit 0-9. I think the code matches too broadly in that case.
14
-
15
-
I think you should test the patterns you are going to use. You can easily modify the test-harness to generate tests for your intended patterns to check for compliance.
16
-
17
10
**I will gladly accept patches correcting bugs.**
18
11
19
12
### Design goals
@@ -67,7 +60,6 @@ NOTE: inverted character classes are buggy - see the test harness for concrete e
67
60
- `?` Question, match zero or one (non-greedy)
68
61
- `[abc]` Character class, match if one of {'a', 'b', 'c'}
69
62
- `[^abc]` Inverted class, match if NOT one of {'a', 'b', 'c'}
70
-
**`NOTE: This feature is currently broken for some usage of character ranges!`**
71
63
- `[a-zA-Z]` Character ranges, the character set of the ranges { a-z | A-Z }
0 commit comments