comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » stregex - lookaround operators?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
stregex - lookaround operators? [message #56376] Wed, 17 October 2007 09:35
rtowler is currently offline  rtowler
Messages: 28
Registered: June 2006
Junior Member
Does stregex support the lookahead and lookbehind operators? I'm
guessing it doesn't, which is a real bummer. Specifically I am trying
to use the lookahead operator to extract data from an XML like string:
'[^>]*(?=</rid>)' which should extract all characters before the </
rid> tag up to ">". But I get an error:

STREGEX: Error processing regular expression: [^>]*(?=</rid>)
repetition-operator operand invalid

I think the expression is valid. Has anyone used the lookaround
operators in IDL?

-r
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: image cut by a shapefile
Next Topic: Re: How to read file to fill an array "partially" ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:44:50 PDT 2025

Total time taken to generate the page: 0.00569 seconds