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
214
Commits
5
Branches
7
Tags
2.5 MiB
93903fc557
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 '93903fc557'
${ noResults }
Commit Graph
214 Commits (93903fc5572ed81dabcc05332d39b0b712515433)
All Branches
Search
Author
SHA1
Message
Date
Aadhavan Srinivasan
445a7247f8
Defined variables to provide ranges of characters for metacharacters
6 months ago
Aadhavan Srinivasan
ca945c7740
Added support for character ranges and dot metacharacter
6 months ago
Aadhavan Srinivasan
2af4a5f9fd
Added more tests
6 months ago
Aadhavan Srinivasan
76157af2b8
Wrote function to generate rune slice representing valid dot metacharacter values
6 months ago
Aadhavan Srinivasan
96b3009c14
Updated TODO
6 months ago
Aadhavan Srinivasan
444413e1f7
Added postfixNode type to represent a node in the postfix representation of the regex
6 months ago
Aadhavan Srinivasan
74c6a2e195
Added more functions to stateContents type, removed append because I don't think I need it
6 months ago
Aadhavan Srinivasan
49b84c5728
Added test cases
6 months ago
Aadhavan Srinivasan
3778869567
Use stateContents type to allow a state to store multiple characters
6 months ago
Aadhavan Srinivasan
4f2f14212c
Use contains function, since the content may have multiple characters
6 months ago
Aadhavan Srinivasan
11073759e3
Added support for character classes (not ranges, yet); also take input from stdin instead of cmdline arg
6 months ago
Aadhavan Srinivasan
cd680371fb
Added function allEqual - checks if all given values are equal
6 months ago
Aadhavan Srinivasan
df6efcd1f0
Unique append to match indices (ensure match indices aren't repeated
6 months ago
Aadhavan Srinivasan
704bec122a
Added more tests
6 months ago
Aadhavan Srinivasan
3a7373bb2b
Started working on new type to represent state contents
6 months ago
Aadhavan Srinivasan
fe5c94b4df
Use new unique append to check if unique states have been added to tempStates
6 months ago
Aadhavan Srinivasan
3984c54080
Added more test cases
6 months ago
Aadhavan Srinivasan
84c768fd5e
Fixed small bug with question mark operator, wasn't adding the empty state's output
6 months ago
Aadhavan Srinivasan
aee24644e9
Use new unique_append function signature
6 months ago
Aadhavan Srinivasan
aee04cd8fe
unique_append now returns the number of unique elements appended
6 months ago
Aadhavan Srinivasan
ac2320b7ea
Updated TODO
6 months ago
Aadhavan Srinivasan
7286e07858
Added question mark operator - 0 or 1
6 months ago
Aadhavan Srinivasan
13a57a4347
Stricter check for adding zero-length match at end of string
6 months ago
Aadhavan Srinivasan
4a30977d15
Added test cases
6 months ago
Aadhavan Srinivasan
89a43c8f41
Added test case
6 months ago
Aadhavan Srinivasan
ae219f763a
Added alternate function, removed relevant code from main; also started working on escape characters
6 months ago
Aadhavan Srinivasan
cda0dfb0cc
Match empty string if start state is kleene star
6 months ago
Aadhavan Srinivasan
7e7e75903d
Added more tests
6 months ago
Aadhavan Srinivasan
95654e3e34
Take all possible 0-states (until no more left to take) before checking if we are in an acceptable position
6 months ago
Aadhavan Srinivasan
b92912f7e4
Added test
6 months ago
Aadhavan Srinivasan
4781b87b90
Added comments
6 months ago
Aadhavan Srinivasan
bf3060b672
Used 'unique append' to ensure that a transition can only contain a given state once
6 months ago
Aadhavan Srinivasan
50e86b5db4
Added 'unique append' function, to ensure that elements in slice are unique
6 months ago
Aadhavan Srinivasan
b1e2d7147e
Added tests
6 months ago
Aadhavan Srinivasan
b327143fa2
Added function for concatenation and kleene star
6 months ago
Aadhavan Srinivasan
c9fdf5aa6c
Restored old behavior with end-of-string - new one didn't seem to work well
6 months ago
Aadhavan Srinivasan
956bdbdcb6
Added test case
6 months ago
Aadhavan Srinivasan
761a5ad052
Added functions for concatenation and kleene star creation, removed relevant code from main
6 months ago
Aadhavan Srinivasan
916168dd42
Updated TODO
6 months ago
Aadhavan Srinivasan
cd2b800b04
Fixed greediness of kleene star
6 months ago
Aadhavan Srinivasan
d1205c781c
Added 'mustPop' function which panics if slice is empty
6 months ago
Aadhavan Srinivasan
5ee427230c
Replaced 'pop' with 'mustPop' which panics on error
6 months ago
Aadhavan Srinivasan
3f2b4716f1
Added more test cases
6 months ago
Aadhavan Srinivasan
91128c218e
Updated TODO
6 months ago
Aadhavan Srinivasan
d0e812a730
Return error if stack is empty
6 months ago
Aadhavan Srinivasan
273a03e3cf
Added more test cases
6 months ago
Aadhavan Srinivasan
935759ed9f
Added testing file
6 months ago
Aadhavan Srinivasan
db7d946c5c
Updated todo
6 months ago
Aadhavan Srinivasan
139c88dd58
Started working on '+' operator
6 months ago
Aadhavan Srinivasan
c894ee4c0d
Renamed match function to 'findAllMatches', to better represent what it does
6 months ago
First
Previous
1
2
3
4
5
Next
Last