"[EMAIL PROTECTED]" wrote: > does anyone know a way to store either > the string or the positions of all text > matching a memory slot as upposed > to just the last piece? Jumpin Jehosifat! yes, exactly that! http://www.cpan.org/modules/by-authors/id/G/GS/GSLONDON/ take a look at my module called Parse-Nibbler-0.23.tar.gz I wrote it as a way to perform regular expressions on a "window" of text in a file. (so you don't have to load the entire file into a string before doing a regular expression on the thing) so, it "nibbles" at a file as it parses it. hence the name. anyway, it is currently a bit messy, and I plan on rewriting it as soon as I get some time, but it stores the positions of matches on regular expressions in an array. the array represents the current rules being tried in a grammar. when a rule succeeds, all the text pointed to by the array is "swallowed". but my approach is an example of exactly what you're looking for. have a gander. Greg
- [Boston.pm] perl regex memory missing two dimentions [EMAIL PROTECTED]
- Re: [Boston.pm] perl regex memory missing two dimen... Kenneth Graves
- Re: [Boston.pm] perl regex memory missing two dimen... Chris Devers
- Re: [Boston.pm] perl regex memory missing two dimen... [EMAIL PROTECTED]
- Re: [Boston.pm] perl regex memory missing two dimen... Greg London
- Re: [Boston.pm] perl regex memory missing two dimen... Kenneth Graves
- Re: [Boston.pm] perl regex memory missing two dimen... [EMAIL PROTECTED]
- Re: [Boston.pm] perl regex memory missing two dimen... [EMAIL PROTECTED]
- Re: [Boston.pm] perl regex memory missing two dimen... [EMAIL PROTECTED]
- Re: [Boston.pm] perl regex memory missing two dimen... Greg London
- Re: [Boston.pm] perl regex memory missing two dimen... Greg London
- Re: [Boston.pm] perl regex memory missing two dimen... [EMAIL PROTECTED]
- Re: [Boston.pm] perl regex memory missing two dimen... Jerrad Pierce
- Re: [Boston.pm] perl regex memory missing two dimen... Kenneth Graves
- Re: [Boston.pm] perl regex memory missing two dimen... Greg London
- Re: [Boston.pm] perl regex memory missing two dimen... [EMAIL PROTECTED]
