Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Question] "findrx RX_DOTALL" Instruction examples
#1
Hello.

Thanks for the help anytime.

I do not know how to use the "RX_DOTALL" command.

You can give an example to illustrate how to use it?


Attached Files Image(s)
   
#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"


Forum Jump:


Users browsing this thread: 1 Guest(s)