in reply to (Solved) Extracting sometimes null string from text variable
"Screw elegance!" Go for whatever works, using your actual data. And if more than one regex is required to handle the various cases, who cares?
Also: if you find that you have to use procedural code to compensate for whatever (any ...) regex is calling-out as a match, then you are doing something wrong.
Take a life-lesson from how the venerable awk utility did the same job, forty years ago now . . .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: (Solved) Extracting sometimes null string from text variable
by Marshall (Canon) on Sep 18, 2017 at 01:21 UTC | |
by RonW (Parson) on Sep 21, 2017 at 22:23 UTC | |
|
Re^2: (Solved) Extracting sometimes null string from text variable
by jdporter (Paladin) on Sep 26, 2017 at 15:55 UTC |