Opened 13 years ago
Last modified 13 years ago
#3613 assigned defect
Implementation of RFC 64 - Parser Overhaul
Reported by: | sdlime | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Documentation - MapServer | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | assefa, jmckenna, havatv |
Description
This is a ticket to track the implementation of RFC 64, a major overhaul of the MapServer expression parser.
Steve
Change History (13)
comment:1 by , 13 years ago
Cc: | added |
---|
comment:3 by , 13 years ago
Status: | new → assigned |
---|
comment:4 by , 13 years ago
Cc: | added |
---|
comment:5 by , 13 years ago
follow-up: 8 comment:7 by , 13 years ago
Steve,
what operators should I use for case insensitve filter requests for Equal and isLike? I use now == for PropertyIsEqualTo and ~* for PropertyIsLike
Thx
comment:8 by , 13 years ago
Replying to assefa:
Steve,
what operators should I use for case insensitve filter requests for Equal and isLike? I use now == for PropertyIsEqualTo and ~* for PropertyIsLike
Thx
For use =* for is PropertyIsEqualTo and ~* PropertyIsLike. The * signals the case-insensitive comparison. Note the ~ is a regex operator... Make sense?
Steve
comment:9 by , 13 years ago
Steve I am not I understand since my tests do not work for PropertyIsLike case sensitive
PropertyIsEqualTo works as expected with the following settings:
"[Attribue]" =* "value" /*for case insenstive*/ "[Attribue]" == "value" /*for case senstive*/
For PropertyIsLike I tried to set the filters like this
"[Attribue]" ~* "value-regex" /*for case insensitive*/: works "[Attribue]" =~ "value-regex" /*for case sensitive*/ : does not work
Note that the by "value-regex", I mean that things like wild card '*', ... are included in it. What is the operator I need to use for case sensitive?
comment:10 by , 13 years ago
Use =, ~ to do case sensitive (== works but is deprecated in my mind). Use =*, ~* to do case insensitive.
Steve
comment:12 by , 13 years ago
Component: | MapServer C Library → MapServer Documentation |
---|
Moving this to documentation. Need to figure out how best to do that... -Steve
comment:13 by , 13 years ago
Cc: | added |
---|
Initial merge done with r10792. Assefa needs to merge his WXS modifications and I still have the following tasks:
Steve