This website works better with JavaScript.
Explore
Help
Sign In
Rockingcool
/
kleingrep
Watch
2
Star
0
Fork
You've already forked kleingrep
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
288
Commits
5
Branches
7
Tags
2.5 MiB
be60f2fb51
master
implementUnicodeCharClass
implementBackreferences
implementPCREMatchingRules
posixStyleMatching
v0.1.0
v0.2.0
v0.3.0
v0.4.0
v0.5.0
v0.6.0
v0.6.1
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'be60f2fb51'
${ noResults }
Commit Graph
288 Commits (be60f2fb5122732e16e116ca4b58b70788dec96c)
All Branches
Search
Author
SHA1
Message
Date
Aadhavan Srinivasan
be60f2fb51
Updated references to 'epsilon'
3 months ago
Aadhavan Srinivasan
7aee4280cc
Renamed 'EPSILON' to 'epsilon' to avoid exporting
3 months ago
Aadhavan Srinivasan
e01ef48cbc
Updated CONCAT to be a metacharacter instead of just a tilde, and renamed it to avoid exporting
3 months ago
Aadhavan Srinivasan
93474c5159
Renamed 'state' to 'nfaState' because 'state' by itself means nothing
3 months ago
Aadhavan Srinivasan
d81b2ddaaa
Renamed 'State' to 'state' to avoid exposing the insides of the engine
3 months ago
Aadhavan Srinivasan
429d286439
Renamed variable to avoid conflicting with type name
3 months ago
Aadhavan Srinivasan
198a2c12a7
Renamed variable to avoid conflicting with type name
3 months ago
Aadhavan Srinivasan
7e88b8a4b0
Renamed variable to avoid conflicting with type name
3 months ago
Aadhavan Srinivasan
af5b6ebe08
Renamed type to avoid exporting
3 months ago
Aadhavan Srinivasan
289bba35e2
Updated assertion constants so that they aren't exported
3 months ago
Aadhavan Srinivasan
7e6377a4c4
Updated more constants, so that they aren't exported
3 months ago
Aadhavan Srinivasan
73c6a442ce
Updated nodeType constants so that they aren't exported
3 months ago
Aadhavan Srinivasan
ca8f8e1030
Renamed function
3 months ago
Aadhavan Srinivasan
24a5045ebe
Updated map and reduce function names so that they aren't exported
3 months ago
Aadhavan Srinivasan
f6d56b74e1
Updated module name to 'kleingrep' (Let's goo!)
3 months ago
Aadhavan Srinivasan
dc53951408
Update package name in import
3 months ago
Aadhavan Srinivasan
aef8152fc1
Renamed package 'greg' to 'regex'
3 months ago
Aadhavan Srinivasan
ca8d32cd7f
Added more tests
3 months ago
Aadhavan Srinivasan
368941e5c7
Fix out-of-bounds access in genRangeInclusive
3 months ago
Aadhavan Srinivasan
b9da5ec08d
Replace use of 'genRange' with 'genRangeInclusive'
3 months ago
Aadhavan Srinivasan
c5a43c47f0
Update type and method references to use qualified names
3 months ago
Aadhavan Srinivasan
c3c3829ac9
Move 'genRange' function to 'cmd'
3 months ago
Aadhavan Srinivasan
ee6bb3959c
Removed function that wasn't being used in 'greg', moved to 'main'
3 months ago
Aadhavan Srinivasan
c06d81d17d
Updated struct field reference
3 months ago
Aadhavan Srinivasan
1a2f1b7ca9
Restructured code into 'cmd' module with CLI and 'greg' module with regex library; export necessary struct fields and methods
3 months ago
Aadhavan Srinivasan
54df6f1815
Added numeric range tests
3 months ago
Aadhavan Srinivasan
bd424ceccd
Catch error from range2regex() and return it
3 months ago
Aadhavan Srinivasan
e8e09dd0f9
Throw error instead of panicking
3 months ago
Aadhavan Srinivasan
46f4a2ad83
Return error instead of panicking if the range cannot be processed
3 months ago
Aadhavan Srinivasan
833dd269a8
Added more descriptive comments; throw error if non-greedy operator is used; use new definition for kleene()
3 months ago
Aadhavan Srinivasan
ecab7cc522
Make kleene() throw an error if the state is not quantifiable
3 months ago
Aadhavan Srinivasan
8b6d35c106
Finished adding tests from Python's test suite; removed a non-greedy operator from one of the old tests
3 months ago
Aadhavan Srinivasan
5e6435d8a7
Throw error if non-greedy operator is attempted
3 months ago
Aadhavan Srinivasan
5bb06900cc
Added more tests
3 months ago
Aadhavan Srinivasan
bde153ce08
Changed '-t' flag to include the new RE_SINGLE_LINE flag as well
3 months ago
Aadhavan Srinivasan
4c3c7e21c5
Fixed inverted Perl classes inside character classes eg. '[\D]'; added new flag for 'single-line' mode, where dot metacharacter matches newlines
3 months ago
Aadhavan Srinivasan
61a128e27a
Added more tests
3 months ago
Aadhavan Srinivasan
c700b01e80
Remove duplicate lines from `re_tests.py`
3 months ago
Aadhavan Srinivasan
578959c9b3
Add Python's regex test suite
3 months ago
Aadhavan Srinivasan
3918682339
Added more tests
3 months ago
Aadhavan Srinivasan
d890a93775
Store multiline mode as a global flag
3 months ago
Aadhavan Srinivasan
d029a171c0
Changed behavior of SOS and EOS assertions depending on whether multiline mode is enabled or not
3 months ago
Aadhavan Srinivasan
74b37ff818
Removed unused function
3 months ago
Aadhavan Srinivasan
7cd24959bf
Added case-insensitive tests (copied the normal tests, added the case-insensitive flag and swapped the case of all characters in the test string
3 months ago
Aadhavan Srinivasan
6e309be71c
Moved case-insensitive stuff to thompson(); fixed case-insensitivity in character classes and ranges
3 months ago
Aadhavan Srinivasan
c92b3d0e7c
Removed case-insensitive functionality from shuntingYard(); should be put in thompson() instead
3 months ago
Aadhavan Srinivasan
94c8044eb7
Running all tests case-insensitive with the same match indices wasn't a good idea
3 months ago
Aadhavan Srinivasan
4a45d1c95e
allCases() now takes a boolean parameter that indicates whether we are case-sensitive or not
3 months ago
Aadhavan Srinivasan
861eb6067e
Apply case-insensitive flag inside character classes as well
3 months ago
Aadhavan Srinivasan
027dfb4d6b
Run all tests twice - case-sensitive, then case-insensitive
3 months ago
First
Previous
1
2
3
4
5
...
Next
Last