Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] regex makes no sense. example doesn't work
#3
if(0=findrx(tempvar regexpattern uniqueidcode)) end "not found"
Your Findrx statement is incorrect that is why it doesn't work



Function Function
Code:
Copy      Help
str tempvar regexpattern uniqueidcode
tempvar="<!--987987-->"
regexpattern="\d+"
findrx(tempvar regexpattern 0 0 uniqueidcode)
out uniqueidcode

to see the proper code needed for a function left click the function name in the editor window and look at the bottom in the status bar to see the syntax needed


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)