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 |
1 Comment
web tasarım izmir · June 20, 2011 at 9:03 AM
thanks for the nice post, I will visit your blog ,thanks for kind efforts and nice sharing