Commit Graph

13 Commits (9115858261a7409107ef68a68a5e402c23b5cf74)

Author SHA1 Message Date
Aadhavan Srinivasan 7056026e10 Added a new class 'CHARCLASS', which represents a character class with some other postfixNodes in it. The 'except' field now contains a list of postfixNodes rather than runes 2 months ago
Aadhavan Srinivasan f5eb9c8218 Defined postfixNodes for LPAREN and RPAREN 3 months ago
Aadhavan Srinivasan 21b2d5a2a9 Added lookaround-related fields to postfixNode struct 4 months ago
Aadhavan Srinivasan c807d6664e Changed generation of characters for non-whitespace, non-digit and non-word characters - it's basically an inverted character class now 4 months ago
Aadhavan Srinivasan e882f41400 Added fields to denote all the characters that an 'allChars' postfixNode _shouldn't_ represent (useful for inverting character classes) 4 months ago
Aadhavan Srinivasan 160b2f9215 Added newline character as an escaped node 4 months ago
Aadhavan Srinivasan c56d81a335 Added unicode support to dot metacharacter - it now matches _any_ unicode character (almost) 4 months ago
Aadhavan Srinivasan 9a073aa514 Added node types for left and right parentheses 4 months ago
Aadhavan Srinivasan b602295bee Added support for specifying how often a postfixNode is repeated 4 months ago
Aadhavan Srinivasan a19d409796 Set node type to ASSERTION if the character represents an assertion 4 months ago
Aadhavan Srinivasan 656c506aa8 Wrote function to provide correct node for escaped character 4 months ago
Aadhavan Srinivasan b8d5ea0897 Wrote function to create a character node regardless of the contents of the node 4 months ago
Aadhavan Srinivasan 444413e1f7 Added postfixNode type to represent a node in the postfix representation of the regex 4 months ago