Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
typeflat
printablefalse

Compare a pattern (custom regex) to a string and return "true" if the pattern matches. This function improves readability of a pattern that contains only '*'. It doesn't do extensive regex.

...

"true" (string) if the column value matches the pattern, otherwise "false".

Example

Input
table

sourcePort

'A emil B logic C'

'A test B util'

LQL command

Code Block
select *, matchesParseAnchor('A * B * C', col) as a resultCol from table

Output

sourcePort

result

'A emil B logic C'

"true"

'A test B util'

"false"