Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RegEx - can't catch pattern
#4
Maybe stuff is incorrect when calling it (after the first replacerx).

The second regex is working, but I don't know whether it is correct. I just tested this code, and it prints 3.

int n=stuff.replacerx(";{8}(\r\n[0-3][0-9]\.[0-1][0-9]\.[1-2][0-9];)" "$1@OUTRO@$2")
out n ;;3


Messages In This Thread
RegEx - can't catch pattern - by BoolTaxCoder - 02-04-2023, 03:15 PM
RE: RegEx - can't catch pattern - by Gintaras - 02-04-2023, 03:33 PM
RE: RegEx - can't catch pattern - by BoolTaxCoder - 02-05-2023, 10:53 AM
RE: RegEx - can't catch pattern - by Gintaras - 02-05-2023, 12:23 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)