in reply to Re: Re: Check input sub - comments please...
in thread Check input sub - comments please...
On the contrary, since it is impossible for there to be a trailing \n here, using $ instead of \z is misleading and wrong. It's just as incorrect as needlessly ending an unanchored regex with .*.