Re: regex for EOF
Bill Yerazunis <[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
From: Thomas Michael Hagen <[email protected]> is there a regex that will match end-of-file? Yes. If you _don't_ use NOMULTILINE, then $ becomes end of file ( and ^ is start-of-file). This is conveniently because TRE actually uses ^ and $ as fixpoints at start and end of buffer, and recurses in NOMULTILINE mode with small (one per line) buffers. (I just tested it, it works) - Bill Yerazunis ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com