Thank you Clinton, That is good to know. It means I can use the same methodology as with normal string scanning.
regards Bruce Rennie On 17/04/17 00:25, Jeffery, Clint (jeffe...@uidaho.edu) wrote: > > Bruce, > > > There are two ways to use the interesting new pattern type. The ?? > operator starts a new string scanning environment to evaluate a pattern. > > The unary = operator has been extended to accept a pattern argument, > and matches it at the position within the current string scanning > environment. So the answer to your question is yes ... for the =p > operator. The s??p operator resets the position to 1 to do its job, > and restores the current scanning environment after it is finished. > > > Clint > > ------------------------------------------------------------------------ > *From:* Bruce & Breeanna Rennie <bren...@dcsi.net.au> > *Sent:* Sunday, April 16, 2017 6:39:25 AM > *To:* Unicon group > *Subject:* [Unicon-group] Question regarding pattern matching > Good evening to all, > > Just a simple question, which doesn't appear to be answered in UTR18. > Are &subject and &pos the basis on which pattern matching is done? Can > we set &pos to be at any valid position within the pattern? > > regards > > Bruce Rennie > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Unicon-group mailing list > Unicon-group@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/unicon-group ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Unicon-group mailing list Unicon-group@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unicon-group