Amazinz wrote:How is the data you are parsing formatted? For instance, if there are line breaks in the string .* won't match correctly depending on the regex implementation. Could it be something like that?
I never thought of that. Throwing in a [^\n\t] (plus whatever other control characters are screwing it up) should fix that, right?
EDIT: I'm assuming that one that wrapped to a new line was due to my crappy screen resolution and it isn't that way in the data file, correct? Because I don't even want to try to deal with it if a record can span multiple lines.