|
0fb78abf7f
|
Added function to replace an element in a slice given its value
|
2025-01-21 22:09:41 -05:00 |
|
|
9115858261
|
Changed assignment of the unicode values by 1, so that EPSILON can now be 0xF0000
|
2025-01-20 17:08:07 -05:00 |
|
|
b81a2f8452
|
Added functions to find if a character is a valid hex value and a valid octal value
|
2025-01-19 21:31:18 -06:00 |
|
|
98f4c9e418
|
Added support for non-capturing groups
|
2024-12-18 15:22:43 -05:00 |
|
|
20fbd20994
|
Added helper function to expand a slice to a given length
|
2024-12-09 01:05:26 -05:00 |
|
|
eb6a044ecf
|
Added angle brackets to list of special characters (which need to be escaped to be used literally
|
2024-11-27 11:45:27 -05:00 |
|
|
ee02e7575e
|
Added function to generate all case variations of a rune
|
2024-11-23 09:26:27 -05:00 |
|
|
1ba871d618
|
Removed dotChars() function, moved notDotChars() setting to main()
|
2024-11-20 10:38:22 -05:00 |
|
|
992c5a9300
|
Replaced isAlphaNum() with isNormalChar(), which returns true if the character isn't special (also returns true for unicode characters, which the previous function didn't
|
2024-11-20 00:24:43 -05:00 |
|
|
c56d81a335
|
Added unicode support to dot metacharacter - it now matches _any_ unicode character (almost)
|
2024-11-18 16:44:43 -05:00 |
|
|
8a1f1dc621
|
Added unicode support
Replaced strings with rune-slices, which capture unicode codepoints more
accurately.
|
2024-11-18 10:41:50 -05:00 |
|
|
e2e99ff6a9
|
Added fnunction to generate numbers in a range; added capacity to some slices to prevent unnecessary reallocations
|
2024-11-06 15:16:51 -05:00 |
|
|
9698c4f1d8
|
Fixed error in calculating word boundary (off-by-one)
|
2024-11-03 15:04:57 -05:00 |
|
|
dca81c1796
|
Replaced rune-slice parameters with string parameters in functions; avoids unnecessary conversion from strings to rune-slices
|
2024-11-01 01:53:50 -04:00 |
|
|
19dc5064c8
|
Made conditions for word boundary a little more relaxed
|
2024-10-31 17:54:45 -04:00 |
|
|
f3bf5e9740
|
Added function to check for word boundaries and delete an element from a slice
|
2024-10-31 17:09:25 -04:00 |
|
|
5f4a6c5a3b
|
Added constants for LBRACKET and RBRACKET
|
2024-10-30 09:32:50 -04:00 |
|
|
a619fd24f6
|
Added map and reduce functions, and a function to return the difference between two sets
|
2024-10-29 20:06:09 -04:00 |
|
|
445a7247f8
|
Defined variables to provide ranges of characters for metacharacters
|
2024-10-29 10:04:36 -04:00 |
|
|
76157af2b8
|
Wrote function to generate rune slice representing valid dot metacharacter values
|
2024-10-29 00:25:30 -04:00 |
|
|
cd680371fb
|
Added function allEqual - checks if all given values are equal
|
2024-10-28 17:31:21 -04:00 |
|
|
aee04cd8fe
|
unique_append now returns the number of unique elements appended
|
2024-10-28 09:39:20 -04:00 |
|
|
50e86b5db4
|
Added 'unique append' function, to ensure that elements in slice are unique
|
2024-10-27 12:52:35 -04:00 |
|
|
82b33f3c9a
|
First commit
|
2024-10-21 23:08:52 -04:00 |
|