jPaq – Changes In Wildcard Expression Parsing

After reviewing this page, I realized that I need to fix some of the ways that jPaq converts wildcard expressions into regular expressions. The first thing I need to do is have the @ character act as a meta-character equivalent to the + meta-character in a regular expression. The next thing I need to change is the effect of prefixing a character with the ~ character. In reality, this character is actually doing what both the \ character and the ^ do. This means that the \ character will need to start acting like the escape character (which will not be hard since that automatically happens in regular expressions). That also means that the following translations will have to occur:

Wildcard RegExp
^t \t
^^ \^
^s \u00A0

One Reply to “jPaq – Changes In Wildcard Expression Parsing”

Leave a Reply

Your email address will not be published. Required fields are marked *