in reply to Re^7: Write to multiple files according to multiple regex
in thread Write to multiple files according to multiple regex
i tried. it still gives me no matches. i also tried to add another line "THE_END" at the top of my file and I tried "THE_END\n", "\nTHE_END", "\rTHE_END", "THE_END\r".
i wonder if the regex - in the way they are written - are suitable for this $/ approach. they look like this
(?^:^UT A19(?:7(?:0G990800007|6CQ89200006)|8(?:0JW32900007|2PN88100001 +)|90DD63700001))
it only adresses "UT" and the "numbercode", nothing afterwards. so if everthing from UT xxxxx to THE_END is treated as one line, they maybe dont match?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Write to multiple files according to multiple regex
by BillKSmith (Monsignor) on Jul 22, 2015 at 18:02 UTC | |
by Foodeywo (Novice) on Jul 23, 2015 at 10:50 UTC |