Compiling REx "XXX \(" Final program: 1: EXACT <XXX (> (4) 4: END (0) anchored "XXX (" at 0 (checking anchored isall) minlen 5 Compiling REx "(XXX [^,]+)," Final program: 1: OPEN1 (3) 3: EXACT <XXX > (5) 5: PLUS (17) 6: ANYOF[\0-+\--\377][{unicode_all}] (0) 17: CLOSE1 (19) 19: EXACT <,> (21) 21: END (0) anchored "XXX " at 0 floating "," at 5..2147483647 (checking anchored) + minlen 6 Compiling REx ";" Final program: 1: EXACT <;> (3) 3: END (0) anchored ";" at 0 (checking anchored isall) minlen 1 Compiling REx "\)$" Final program: 1: EXACT <)> (3) 3: EOL (4) 4: END (0) anchored ")"$ at 0 (checking anchored isall) minlen 1 Guessing start of match in sv for REx "XXX \(" against "(1,2,3) XXX (1 +,2,3)" Found anchored substr "XXX (" at offset 8... Starting position does not contradict /^/m... Guessed: match at offset 8 Matching REx "XXX \(" against "XXX (1,2,3)" 8 <2,3) > <XXX (1,2,3> | 1:EXACT <XXX (>(4) 13 < XXX (> <1,2,3)> | 4:END(0) Match successful! Guessing start of match in sv for REx "(XXX [^,]+)," against "(1,2,3) +XXX ('1,2,3)" Found anchored substr "XXX " at offset 8... Found floating substr "," at offset 15... Starting position does not contradict /^/m... Guessed: match at offset 8 Matching REx "(XXX [^,]+)," against "XXX ('1,2,3)" 8 <2,3) > <XXX ('1,2,> | 1:OPEN1(3) 8 <2,3) > <XXX ('1,2,> | 3:EXACT <XXX >(5) 12 < XXX > <('1,2,3)> | 5:PLUS(17) ANYOF[\0-+\--\377][{unicode_all}] ca +n match 3 times out of 2147483647... 15 <XXX ('1> <,2,3)> | 17: CLOSE1(19) 15 <XXX ('1> <,2,3)> | 19: EXACT <,>(21) 16 <XXX ('1,> <2,3)> | 21: END(0) Match successful! Matching REx "(XXX [^,]+)," against "2,3)" String too short [regexec_flags]... Match failed Guessing start of match in sv for REx ";" against "(1,2,3) XXX ('1';'2 +,3)" Found anchored substr ";" at offset 16... Starting position does not contradict /^/m... Guessed: match at offset 16 Matching REx ";" against ";'2,3)" 16 <X ('1'> <;'2,3)> | 1:EXACT <;>(3) 17 <X ('1';> <'2,3)> | 3:END(0) Match successful! Matching REx ";" against "'2,3)" Guessing start of match in sv for REx ";" against "'2,3)" Did not find anchored substr ";"... Match rejected by optimizer Not present... Match failed Guessing start of match in sv for REx "\)$" against "(1,2,3) XXX ('1', +'2,3)" Found anchored substr ")"$ at offset 21... Starting position does not contradict /^/m... Guessed: match at offset 21 Matching REx "\)$" against ")" 21 <X ('1','2,3> <)> | 1:EXACT <)>(3) 22 <X ('1','2,3)> <> | 3:EOL(4) 22 <X ('1','2,3)> <> | 4:END(0) Match successful! (1,2,3) XXX ('1','2,3') Freeing REx: "XXX \(" Freeing REx: "(XXX [^,]+)," Freeing REx: ";" Freeing REx: "\)$"
In reply to Re: Need help with substitue /g
by Anonymous Monk
in thread Need help with substitue /g
by stephanm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |