We're updating the issue view to help you get more done. 

Expression parser cannot handle boolean chained regular expression matches

Description

The expression parser does not appear to be able to handle regular expression matches chained together with boolean AND/OR operators. An expression like

(^ca_objects.copyright_status%convertCodesToIdno=1 =~ /public_domain/) OR (^ca_objects.copyright_status%convertCodesToIdno=1 =~ /copyright_unknown/) OR (^ca_objects.copyright_status%convertCodesToIdno=1 =~ /not_set/)

will fail because only the expression to the end of the first regex is processed. Everything after /public_domain/ is included as a string literal in the first regex.

Environment

None

Assignee

User known

Reporter

User known

Labels

None

Components

Affects versions

Priority

Major
Configure