Aadhavan Srinivasan
|
d453815831
|
Added README
|
3 weeks ago |
Aadhavan Srinivasan
|
3a2916baae
|
Set 'isLazy' to true in the NFA, if the postfixNode has the flag set
|
3 weeks ago |
Aadhavan Srinivasan
|
9d6344719f
|
Reverse order of trying branches if the quantifier is lazy
|
3 weeks ago |
Aadhavan Srinivasan
|
f5c868566b
|
Added field to NFA, denoting if a node is lazy or not
|
3 weeks ago |
Aadhavan Srinivasan
|
1cd6da218f
|
Added lazy quantifier tests
|
3 weeks ago |
Aadhavan Srinivasan
|
277cbc0fc5
|
Started working on lazy quantifier support
|
4 weeks ago |
Aadhavan Srinivasan
|
3924502b72
|
Added code to return lazy quantifier postfixNodes
|
4 weeks ago |
Aadhavan Srinivasan
|
36b009747b
|
Added metacharacters for lazy quantifiers
|
4 weeks ago |
Aadhavan Srinivasan
|
6cd0a10a8f
|
Added more documentation
|
4 weeks ago |
Aadhavan Srinivasan
|
69fb96c43d
|
Merge pull request 'Implement Unicode character classes' (#4) from implementUnicodeCharClass into master
Reviewed-on: #4
|
4 weeks ago |
Aadhavan Srinivasan
|
46bc0c8529
|
Removed unicode character classes from 'features not supported' list
|
4 weeks ago |
Aadhavan Srinivasan
|
1a890a1e75
|
Refactoring - remove duplicate code
|
4 weeks ago |
Aadhavan Srinivasan
|
fde3784e5a
|
Added unicode charclass support within character classes; Fixed bugs with hex classes and unicode classes
|
4 weeks ago |
Aadhavan Srinivasan
|
7045711860
|
Convert test_str into a rune slice for better unicode compatibility, it also fixed the bug where all unicode characters wouldn't be colored
|
4 weeks ago |
Aadhavan Srinivasan
|
d4d606d95b
|
Added tests for unicode character classes; more tests for hex characters
|
4 weeks ago |
Aadhavan Srinivasan
|
9cd330e521
|
More work on unicode character class support - fix bug where all characters aren't being matched
|
4 weeks ago |
Aadhavan Srinivasan
|
44d6a2005c
|
Started working on unicode character classes
|
4 weeks ago |
Aadhavan Srinivasan
|
f76cd6c3d9
|
Merge pull request 'Implement Backreferences' (#3) from implementBackreferences into master
Reviewed-on: #3
|
4 weeks ago |
Aadhavan Srinivasan
|
375baa1722
|
Wrote more backreference tests
|
4 weeks ago |
Aadhavan Srinivasan
|
2e47c631bb
|
Updated documentation to include backreferences
|
4 weeks ago |
Aadhavan Srinivasan
|
81b8b1b11c
|
Do not validate a backreference if the group that it refers to is not valid
|
4 weeks ago |
Aadhavan Srinivasan
|
2934e7a20f
|
Wrote tests for backreferences
|
4 weeks ago |
Aadhavan Srinivasan
|
f466d4a8d5
|
More progress on backreference implementation
|
4 weeks ago |
Aadhavan Srinivasan
|
8327450dd2
|
Started implementing backreferences (octal values should now be prefaced with \0)
|
4 weeks ago |
Aadhavan Srinivasan
|
073f231b89
|
Added function and examples for ReplaceAllFunc()
|
4 weeks ago |
Aadhavan Srinivasan
|
3b7257c921
|
Wrote function and example for ReplaceAllLiteral()
|
4 weeks ago |
Aadhavan Srinivasan
|
668df8b70a
|
Wrote MarshalText() and UnmarshalText() to implement TextMarshaler and TextUnmarshaler
|
4 weeks ago |
Aadhavan Srinivasan
|
214acf7e0f
|
Wrote example for ReplaceAll(); fixed out-of-bounds bug in Expand()
|
4 weeks ago |
Aadhavan Srinivasan
|
50221ff4d9
|
Wrote ReplaceAll(), to replace all matches of the regex with a given string
|
4 weeks ago |
Aadhavan Srinivasan
|
5ab95f512a
|
Updated docs
|
4 weeks ago |
Aadhavan Srinivasan
|
e7da678408
|
Removed obsolete documentation
|
4 weeks ago |
Aadhavan Srinivasan
|
ab363e2766
|
Rewrote test for 'FindString()' to use lookarounds
|
4 weeks ago |
Aadhavan Srinivasan
|
c803e45415
|
Added example for 'FindStringSubmatch()'
|
4 weeks ago |
Aadhavan Srinivasan
|
525296f239
|
Added examples for 'FindAllString()' , 'FindAllSubmatch()' and 'FindAllStringSubmatch()'
|
4 weeks ago |
Aadhavan Srinivasan
|
eb0ab9f7ec
|
Wrote test for FindAllStringSubmatch()
|
4 weeks ago |
Aadhavan Srinivasan
|
17a7dbae4c
|
Wrote FindAllStringSubmatch()
|
4 weeks ago |
Aadhavan Srinivasan
|
f2279acd98
|
Fixed mistake in docs
|
4 weeks ago |
Aadhavan Srinivasan
|
662527c478
|
Merge pull request 'Implement PCRE Matching (prefer left-branch)' (#2) from implementPCREMatchingRules into master
Reviewed-on: #2
|
4 weeks ago |
Aadhavan Srinivasan
|
d1958f289c
|
Commented out tests that would only pass with Longest()
|
4 weeks ago |
Aadhavan Srinivasan
|
15ee49f42e
|
Rename method receivers from 'regex' to 're' (it's shorter)
|
4 weeks ago |
Aadhavan Srinivasan
|
b60ded4136
|
Don't break when a match is found, if we are looking for the longest match
|
4 weeks ago |
Aadhavan Srinivasan
|
9fbb99f86c
|
Wrote example for Longest()
|
4 weeks ago |
Aadhavan Srinivasan
|
af15904f3b
|
Updated documentation
|
4 weeks ago |
Aadhavan Srinivasan
|
d522f50b50
|
Wrote new example functions
|
4 weeks ago |
Aadhavan Srinivasan
|
fb47e082eb
|
Wrote new methods Expand() and preferLongest(); Use new function signatures (with preferLongest); only characters should be added to next state list
|
4 weeks ago |
Aadhavan Srinivasan
|
1f5a363539
|
Use new function signatures (with preferLongest)
|
4 weeks ago |
Aadhavan Srinivasan
|
9e12f9dcb3
|
Added field to Reg, denoting if we prefer longest match (POSIX style) or not (perl style)
|
4 weeks ago |
Aadhavan Srinivasan
|
47f88c817f
|
Fixed typo
|
4 weeks ago |
Aadhavan Srinivasan
|
835d495990
|
Removed capitalization for error message (staticcheck)
|
4 weeks ago |
Aadhavan Srinivasan
|
76e0170cb9
|
Removed unused function
|
4 weeks ago |