Opened 14 years ago

Closed 14 years ago

#3289 closed defect (fixed)

WFS OCG filter rgex tests for numeric values

Reported by: assefa Owned by: assefa
Priority: normal Milestone: 6.0 release
Component: WFS Server Version: unspecified
Severity: normal Keywords: OGC Filter isnumeric regex
Cc: bartvde

Description

regex test for numeric values in filter encoding (mapogcfilter.c:FLTIsNumeric function) was using: [-+]?
b([0-9]*
.[0-9]+|[0-9]+)
b

It should use:

[-+]?[0-9]*
.?[0-9]+$

Change History (2)

comment:1 by assefa, 14 years ago

Cc: bartvde added

committed in r9777

using this to account for scientific notations: "[-+]?[0-9]*
.?[0-9]+([eE][-+]?[0-9]+)?$"

comment:2 by assefa, 14 years ago

Resolution: fixed
Status: newclosed

backported in the 5.6.x branch r9910

Note: See TracTickets for help on using tickets.