Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Findrx (greedy or back-reference?) problem
#8
Look, maybe this will work

Macro Macro1497
Code:
Copy      Help
str s
;s="abcdefghijyz" ;;does not match
s="abcdefgijyz" ;;match
out findrx(s "bc(.(?!fgh))+?yz")

(.(?!fgh))+?
any character not followed by "fgh", repeat one or more times


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)