Emanuel Gestosa
|
e2c6c0539f
|
add more lookahead tests
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
eca12607dd
|
pattern visitor is now a singleton
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
006e3e11f9
|
parser class is now a singleton
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
a9982cbdca
|
refactoring temporary field out of parser class
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
0fa9c5a2a2
|
moving all parsing logic to VimRegexParser class
rebasing
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
cdcc9729d3
|
add more failing lookahead tests
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
4acf651aa7
|
adding tests for nested lookahead tokens
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
3815a1d538
|
add more lookahead tests
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
15db9b30e1
|
add tests for negative lookahead
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
f6b9e7cc26
|
implementing positive lookahead
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
ec7c1677b4
|
allow special escape characters in collections \e \t \r \b \n
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
a9474c8e67
|
allow character codes inside collections \d \o \x \u \U
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
3a70dfc5f3
|
implementing collections with EOL \_[]
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
669177d803
|
implementing and testing start and end of word tokens
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
ee642b63ce
|
adding explanatory comment on wierd atomic group test
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
17315e5096
|
implementing atomic groups
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
26c6c464d8
|
adding tests for atomic groups
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
048759d374
|
implement and test start and end of line anywhere in pattern
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
472a53e3b9
|
start and end of line anchors
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
9e15d91900
|
adding tests for empty editors
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
908a2d1d8c
|
start and end of file
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
69bdea9273
|
character classes never ignore case
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
5b21a653ee
|
add test for case insensitive matching
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
cfddcf1630
|
ignore case tokens
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
715c51f673
|
matchEntire API function
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
b443e8f06a
|
fix quantified capture groups not updating properly
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
ad5db3c9e5
|
fix capturing groups not updating properly
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
fa3182cb5e
|
adding failing backreferences test
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
2a70530d0f
|
matchAt API function
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
1323536a63
|
testing and implementing backreferences
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
419212e2d4
|
parsing backreferences
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
db1e8301cd
|
implementing and testing lazy quantifiers
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
bf94a3c68d
|
parsing lazy quantifiers
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
7d472afe61
|
set match start and end \zs \ze
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
f32a4d33a7
|
support unicode escape sequence in collections
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
0722991955
|
add test for collection with not special escaped character
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
bcc740cdbc
|
implementing custom collections
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
5cf46097f7
|
ascii character classes
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
61dc189f8b
|
char classes and collections base code
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
23c2b008c9
|
implementing cursor and using mockito to mock editor
rebasing
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
db14afdf3a
|
dot with and without newline
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
b7927336d1
|
implementing dot
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
63c0112ffb
|
findAll API function
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
db08d7d280
|
find API function
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
9892525fbc
|
containsMatchIn API function
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
241ad68bd5
|
fix nfa looping in epsilon transitions
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
a0ec18921b
|
more correct way of handling quantifiers
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
45e17eb0b2
|
fixing quantifiers
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
59f0e9ae67
|
add test for updating capture group
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
af24611c73
|
capture group submatch
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
d4502dda3f
|
VimMatchResult stores matched string value
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
c0efa8af5d
|
use IntRange for match range
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
1c06a3fc89
|
add test for empty group
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
c19fb38d1c
|
implementing grouping
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
5dc1de9daf
|
add nfa test for escaped character
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
4ef6cf0428
|
implementing quantifiers
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
ca5f8e4b44
|
skeleton for NFA testing
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
1907f03abe
|
nfa simulation uses VimEditor instead of String
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
6351a4e4f3
|
initial nfa
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
cdac97ebf5
|
adding some zero-width tokens
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
fe958d28b8
|
lexer fixing what chars are taken literally
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
f71982e1d5
|
support unicode in collections
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
cb2bfcea53
|
unicode chars in all lexer modes
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
4a9d5bbceb
|
lexer support for unicode characters
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
10809eade6
|
regex very magic and very nomagic modes
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
b47109ab4d
|
grammar add EOF at end of pattern
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
62a239f6fe
|
add tests for collections
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
d89bc95a0a
|
altering antlr error handling
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
2a76f21b31
|
regex range basic tests
|
2024-02-05 16:29:49 +02:00 |
|
Emanuel Gestosa
|
058ab7a1ea
|
gradle generate antlr files
rebasing
|
2024-02-05 16:29:49 +02:00 |
|
Ludwig Valda Vasquez
|
068d610e3a
|
Add grapheme cluster handling tests
GraphemeBreakTest.txt was downloaded from the Unicode Character Database [0].
Changes to build.gradle.kts were required to stop `gradlew test` from
regenerating the resources with empty JSON objects. And adding a
dependency.
[0]: https://www.unicode.org/Public/UCD/latest/ucd/auxiliary/GraphemeBreakTest.txt
|
2023-08-14 09:04:41 +03:00 |
|
filipp
|
c9b9bb6cf8
|
Remove generated files for tests
|
2023-06-06 10:42:42 +03:00 |
|
filipp
|
f456e0a8dd
|
Fix tests
|
2023-06-06 10:42:42 +03:00 |
|