Commit Graph
1781 Commits
Author SHA1 Message Date
Emanuel Gestosaandlippfi 5f1c234a7d refactor Matcher to return number of consumed characters 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi db1e8301cd implementing and testing lazy quantifiers 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi bf94a3c68d parsing lazy quantifiers 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 96baa4ffc6 all named character classes 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 7d472afe61 set match start and end \zs \ze 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi f32a4d33a7 support unicode escape sequence in collections 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 0722991955 add test for collection with not special escaped character 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi bcc740cdbc implementing custom collections 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 5cf46097f7 ascii character classes 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 61dc189f8b char classes and collections base code 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 23c2b008c9 implementing cursor and using mockito to mock editor
rebasing
2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi db14afdf3a dot with and without newline 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi b7927336d1 implementing dot 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi ee23a3d4cd commenting findAll 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 63c0112ffb findAll API function 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi db08d7d280 find API function 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 9892525fbc containsMatchIn API function 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 34b87ff6bf adding comments 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 241ad68bd5 fix nfa looping in epsilon transitions 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi a0ec18921b more correct way of handling quantifiers 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 45e17eb0b2 fixing quantifiers 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 59f0e9ae67 add test for updating capture group 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi af24611c73 capture group submatch 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi d4502dda3f VimMatchResult stores matched string value 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi c0efa8af5d use IntRange for match range 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 1c06a3fc89 add test for empty group 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi c19fb38d1c implementing grouping 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 5dc1de9daf add nfa test for escaped character 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 6774301938 updating comments 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 4ef6cf0428 implementing quantifiers 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi ca5f8e4b44 skeleton for NFA testing 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 1907f03abe nfa simulation uses VimEditor instead of String 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 6351a4e4f3 initial nfa 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi fa34c3937f initial nfa definition 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi cdac97ebf5 adding some zero-width tokens 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi fe958d28b8 lexer fixing what chars are taken literally 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi f71982e1d5 support unicode in collections 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi cb2bfcea53 unicode chars in all lexer modes 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 4a9d5bbceb lexer support for unicode characters 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 10809eade6 regex very magic and very nomagic modes 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 43d63527f8 adding comments to parser grammar 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi df51eb54ed using antlr token types 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi b47109ab4d grammar add EOF at end of pattern 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 15b2b68940 making new collection tests pass 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 62a239f6fe add tests for collections 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi d89bc95a0a altering antlr error handling 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 2a76f21b31 regex range basic tests 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi f07e22d742 delete duplicate files 2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi 058ab7a1ea gradle generate antlr files
rebasing
2024-02-05 16:29:49 +02:00
Emanuel Gestosaandlippfi fae3baa640 initial regex grammar 2024-02-05 16:29:49 +02:00