Commit Graph

16 Commits

Author SHA1 Message Date
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