- Notifications
You must be signed in to change notification settings - Fork689
Commit57cfff3
Address PR feedback: Remove \b \f \v support, fix regex, update tests
- Removed support for \b, \f, \v escape sequences as requested- Fixed regex to only match specific escape sequences: \n \t \r \\ \' \"- Removed default case that was accepting any character after backslash- Updated test134-B to remove tests for \b, \f, \v- Updated test125 escape sequence assertions to work with new behaviorCo-authored-by: mathiasrw <1063454+mathiasrw@users.noreply.github.com>1 parent25a5322 commit57cfff3
File tree
4 files changed
+13
-35
lines changed- src
- test
4 files changed
+13
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1462 | 1462 | | |
1463 | 1463 | | |
1464 | 1464 | | |
1465 | | - | |
| 1465 | + | |
| 1466 | + | |
1466 | 1467 | | |
1467 | 1468 | | |
1468 | 1469 | | |
1469 | 1470 | | |
1470 | | - | |
1471 | | - | |
1472 | | - | |
1473 | 1471 | | |
1474 | 1472 | | |
1475 | 1473 | | |
1476 | | - | |
1477 | 1474 | | |
1478 | 1475 | | |
1479 | 1476 | | |
1480 | 1477 | | |
1481 | 1478 | | |
1482 | 1479 | | |
1483 | 1480 | | |
1484 | | - | |
| 1481 | + | |
| 1482 | + | |
1485 | 1483 | | |
1486 | 1484 | | |
1487 | 1485 | | |
1488 | 1486 | | |
1489 | | - | |
1490 | | - | |
1491 | | - | |
1492 | 1487 | | |
1493 | 1488 | | |
1494 | 1489 | | |
1495 | | - | |
1496 | 1490 | | |
1497 | 1491 | | |
1498 | 1492 | | |
| |||
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 38 | + | |
49 | 39 | | |
50 | 40 | | |
51 | 41 | | |
52 | 42 | | |
53 | | - | |
| 43 | + | |
54 | 44 | | |
55 | 45 | | |
56 | 46 | | |
57 | 47 | | |
58 | | - | |
| 48 | + | |
59 | 49 | | |
60 | 50 | | |
61 | 51 | | |
| |||
64 | 54 | | |
65 | 55 | | |
66 | 56 | | |
67 | | - | |
| 57 | + | |
68 | 58 | | |
69 | 59 | | |
70 | 60 | | |
| |||
0 commit comments
Comments
(0)