Opened 19 years ago

Closed 19 years ago

#1107 closed defect (fixed)

PropertyIsLike problem with non alphanumeric characters

Reported by: bartvde@… Owned by: mapserverbugs
Priority: high Milestone:
Component: MapScript-PHP Version: 4.4
Severity: normal Keywords:
Cc:

Description

When using a PropertyIsLike like the following:

LIKE Noord*

The following entries are not found:
Noord-Holland
Noord-Brabant

This is because the generated regular expression assumes an alphanumeric 
character or space, and not a "token".

EXPRESSION /Noord[0-9,a-z,A-Z,\s]*/

Change History (4)

comment:1 by dmorissette, 19 years ago

Assefa, could we use this instead?

EXPRESSION /Noord.*/

comment:2 by assefa, 19 years ago

Modified according to comment #2 in mapserver cvs head. 

Do you need this to be fixed in 4.4.X release or do you work off the development
version ?

comment:3 by bartvde@…, 19 years ago

Tested with CVS. Works fine now.

Assefa, is this also present in 4.4.X? Would be great if it could also be fixed
in that one.

comment:4 by assefa, 19 years ago

Resolution: fixed
Status: newclosed
Fixed in the 4.4.x branch.
Note: See TracTickets for help on using tickets.