in reply to Re: manipulating array (TMTOWTDI!)
in thread manipulating array

I like that solution because it points out the most significant lesson: that "*" has a specific meaning the original poster did not want.

The star means "zero or any repeats of the previous item" in a regex context. The specific string one wants to match is "the letter A followed by the numbers 1 then 9 followed by two digits of the 0 through 9 series followed by a 4...".

It's very important to take the time to think about a regex in that plodding way or you get matches you won't want. For example, the rest of the line could match.

I hope I'm not being redundant with my bandwidth. Y'all have a good day.