Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Question] "findrx RX_DOTALL" Instruction examples
#2
Macro Macro2526
Code:
Copy      Help
str s=
;aa
;bb
;cc

if(findrx(s "^.+?b")>=0) out "found"; else out "not found"
if(findrx(s "^.+?b" 0 RX_DOTALL)>=0) out "found"; else out "not found"
if(findrx(s "(?s)^.+?b")>=0) out "found"; else out "not found"


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)