Skip to content

Commit 7e33619

Browse files
MarcioPortojazzido
authored andcommitted
fixes regex in order to pass jruby 9.1.13.0 tests (#38)
1 parent 736a12e commit 7e33619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/mondrian_rest/query_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module QueryHelper
44
VALID_FILTER_OPS = [
55
'>', '<', '>=', '<=', '=', '<>'
66
].freeze
7-
VALID_FILTER_RE = /(?<measure>[a-zA-Z0-9-!$%^&*()_+|@#~`{}\[\]:";'?,.\/\s]+)\s*(?<operand>#{VALID_FILTER_OPS.join("|")})\s*(?<value>-?\d+\.?\d*)/
7+
VALID_FILTER_RE = /(?<measure>[a-zA-Z0-9\-!$%^&*()_+|@#~`{}\[\]:";'?,.\/\s]+)\s*(?<operand>#{VALID_FILTER_OPS.join("|")})\s*(?<value>-?\d+\.?\d*)/
88
MEMBER_METHODS = %w[Caption Key Name UniqueName].freeze
99

1010
def unparse_node(node)

0 commit comments

Comments
 (0)