Commit Graph

18 Commits (0de3a94ce34c8d0518a807ea5c2b9a25e25ae7d6)

Author SHA1 Message Date
Aadhavan Srinivasan ee02e7575e Added function to generate all case variations of a rune
Aadhavan Srinivasan 1ba871d618 Removed dotChars() function, moved notDotChars() setting to main()
Aadhavan Srinivasan 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
Aadhavan Srinivasan c56d81a335 Added unicode support to dot metacharacter - it now matches _any_ unicode character (almost)
Aadhavan Srinivasan 8a1f1dc621 Added unicode support
Replaced strings with rune-slices, which capture unicode codepoints more
accurately.
Aadhavan Srinivasan e2e99ff6a9 Added fnunction to generate numbers in a range; added capacity to some slices to prevent unnecessary reallocations
Aadhavan Srinivasan 9698c4f1d8 Fixed error in calculating word boundary (off-by-one)
Aadhavan Srinivasan dca81c1796 Replaced rune-slice parameters with string parameters in functions; avoids unnecessary conversion from strings to rune-slices
Aadhavan Srinivasan 19dc5064c8 Made conditions for word boundary a little more relaxed
Aadhavan Srinivasan f3bf5e9740 Added function to check for word boundaries and delete an element from a slice
Aadhavan Srinivasan 5f4a6c5a3b Added constants for LBRACKET and RBRACKET
Aadhavan Srinivasan a619fd24f6 Added map and reduce functions, and a function to return the difference between two sets
Aadhavan Srinivasan 445a7247f8 Defined variables to provide ranges of characters for metacharacters
Aadhavan Srinivasan 76157af2b8 Wrote function to generate rune slice representing valid dot metacharacter values
Aadhavan Srinivasan cd680371fb Added function allEqual - checks if all given values are equal
Aadhavan Srinivasan aee04cd8fe unique_append now returns the number of unique elements appended
Aadhavan Srinivasan 50e86b5db4 Added 'unique append' function, to ensure that elements in slice are unique
Aadhavan Srinivasan 82b33f3c9a First commit