Opened 19 years ago

Closed 17 years ago

#1330 closed defect (wontfix)

combining regular and logical expressions

Reported by: stefan.schnitter@… Owned by: jmckenna@…
Priority: normal Milestone:
Component: Documentation - MapServer Version: 4.4
Severity: normal Keywords:
Cc:

Description

As I was pointed out on the list it is possible to combine regular and logical 
expressions in the following way:

FILTER (('[NODE]' =~ /%mynodefilter%/) AND ('[CITY]' =~ /%mycityfilter%/))

The docs do not mention this. The Class/Expression docs state

 ... The following logical operators are supported : 
=,>,<,<=,>=,=,or,and,lt,gt,ge,le,eq,ne. As you might expect this level of 
complexity is slower to process.

I suggest adding the =~ operator here or explain it even a little further 
(that =~ can be used to combine logical and regular expressions)
I didn't try but I imagine that !~ also works (not matching operator).
Are there other undocumented operators?

Change History (4)

comment:1 by kgeurts@…, 19 years ago

Owner: changed from kgeurts@… to jmckenna@…
Jeff - This bug got assigned to me but I think you may want to handle it. 
Thanks, Kari 4/25/05

comment:2 by jmckenna@…, 19 years ago

ok thanks Kari

comment:3 by jmckenna@…, 18 years ago

Stefan,

Does the MapServer Expressions document
(http://mapserver.gis.umn.edu/docs/howto/msexpressions) cover these issues?

comment:4 by jmckenna, 17 years ago

Resolution: wontfix
Status: newclosed

closing bug as i believe the stated doc covers this (http://mapserver.gis.umn.edu/docs/howto/msexpressions).

Note: See TracTickets for help on using tickets.