src code

class method SpahQL.DataHelper.eqStringRough

SpahQL.DataHelper.eqStringRough(left, right) → Boolean result
  • left (String) – The value at the left-hand side of the comparator
  • right (String) – The value at the right-hand side of the comparator

Compares two strings under the rules of rough equality. The right-hand value is parsed as a RegExp and a result of true is returned if the left value matches it.