Commit Graph
1985 Commits
Author SHA1 Message Date
Emanuel Gestosa 7c542d5fc7 implementing character classes with EOL 2024-02-05 16:29:49 +02:00
Emanuel Gestosa 638dfb7777 parsing character classes with new line 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 5f1c234a7d refactor Matcher to return number of consumed characters 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 96baa4ffc6 all named character classes 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 ee23a3d4cd commenting findAll 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 34b87ff6bf adding comments 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 6774301938 updating comments 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 fa34c3937f initial nfa definition 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 43d63527f8 adding comments to parser grammar 2024-02-05 16:29:49 +02:00
Emanuel Gestosa df51eb54ed using antlr token types 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 15b2b68940 making new collection tests pass 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