MapTools.org

[maplab-users] Regular expression BUG on classes

woodbri@swoodbridge.com woodbri@swoodbridge.com
Fri, 6 Sep 2002 15:51:30 -0400
I think the code that handles regular expressions is broken. I 
entered an expression

/^UNK$|^N\/A$/

which should catch the strings "UNK" or "N/A"

but the code mangles the expression to

/^UNK$|^N\/  which ends in \ / not a cap V

in the mapfile.

I had to change the expression to

/^UNK$|^N.A$/

I didn't try the variant

/^UNK$|^N[/]A$/   to see if it was handled better, but I expect not.

-Steve


This archive was generated by Pipermail.