B
bitwxtadpl
Hi,
I have a simple parsing regular expression that is expecting data and a
delimiter. Axy where A is the data and xy is the delimiter When the
delimiter is xy it works as expected. But, when I add one more char
'z' to the delimiter data it stops working.
It this an issue with my regular expression or with the C# regular
expression parser?
Can you suggest a fix?
Regular Expression #1 Works
^(?<PointId0>[^x][^y]*)xy
Data
Axy
Result
Pointid0 = A
Regular Expression #2 Fails
^(?<PointId0>[^x][^y][^Z]*)xyz
Data
Axyz
Result
Pointid0 = nothing
Thanks,
I have a simple parsing regular expression that is expecting data and a
delimiter. Axy where A is the data and xy is the delimiter When the
delimiter is xy it works as expected. But, when I add one more char
'z' to the delimiter data it stops working.
It this an issue with my regular expression or with the C# regular
expression parser?
Can you suggest a fix?
Regular Expression #1 Works
^(?<PointId0>[^x][^y]*)xy
Data
Axy
Result
Pointid0 = A
Regular Expression #2 Fails
^(?<PointId0>[^x][^y][^Z]*)xyz
Data
Axyz
Result
Pointid0 = nothing
Thanks,