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

Home » Public Forums » archive » Regular expression
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
Regular expression [message #53875] Fri, 04 May 2007 08:06
lasse is currently offline  lasse
Messages: 48
Registered: February 2007
Member
Hi there,

why does

print, stregex('[', '[\[]')

work, i.e. produce 0, whereas

print, stregex(']', '[\]]')

prints -1?

print, stregex(']', '\]')

works (i.e. prints 0).

print, !version
{ x86 linux unix linux 6.2 Jun 20 2005 32 64}

Cheers
Lasse
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: variables in common blocks
Next Topic: limited angle CT

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

Current Time: Fri Oct 10 05:27:41 PDT 2025

Total time taken to generate the page: 1.59757 seconds