Commit 8388d0f
committed
Parse end-of-line comments in custom character classes
Previously we would only parse non-semantic
whitespace, but also expand to end-of-line
comments, which are supported by ICU.1 parent 24b64cd commit 8388d0f
File tree
3 files changed
+20
-11
lines changed- Sources/_RegexParser/Regex/Parse
- Tests/RegexTests
3 files changed
+20
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | | - | |
| 642 | + | |
643 | 643 | | |
644 | 644 | | |
645 | 645 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
| 518 | + | |
| 519 | + | |
522 | 520 | | |
523 | 521 | | |
524 | 522 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1677 | 1677 | | |
1678 | 1678 | | |
1679 | 1679 | | |
1680 | | - | |
1681 | | - | |
1682 | | - | |
1683 | | - | |
1684 | | - | |
1685 | | - | |
| 1680 | + | |
| 1681 | + | |
1686 | 1682 | | |
1687 | 1683 | | |
1688 | 1684 | | |
| |||
2115 | 2111 | | |
2116 | 2112 | | |
2117 | 2113 | | |
| 2114 | + | |
| 2115 | + | |
| 2116 | + | |
| 2117 | + | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
2118 | 2123 | | |
2119 | 2124 | | |
2120 | 2125 | | |
| |||
2544 | 2549 | | |
2545 | 2550 | | |
2546 | 2551 | | |
| 2552 | + | |
| 2553 | + | |
| 2554 | + | |
| 2555 | + | |
| 2556 | + | |
| 2557 | + | |
2547 | 2558 | | |
2548 | 2559 | | |
2549 | 2560 | | |
| |||
0 commit comments