keyInField

Ken Ray kray at sonsothunder.com
Fri Sep 27 01:27:01 EDT 2002


Yves,

THe missing close bracket is after the last "0-9", but before the *... it
should be:

  get matchText(tNumber,"([-]?)([0-9]*)[\.]?([0-9]*)",tMinusHold,
tMainNumber, tDecimalHold)

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "yves COPPE" <yvescoppe at skynet.be>
To: <use-revolution at lists.runrev.com>
Sent: Friday, September 27, 2002 1:10 AM
Subject: Re: keyInField


>
> Hello Jan,
>
> i have a problem with your last script :
>
>   * There was an Execution Error at 8:05:55 AM
> Error description:  matchChunk: error in pattern expression
> Object: field id 1004 of card id 1002 of stack "/HD/Desktop
> Folder/scripts rev/numeric fld.rev"
> --------------------
> get matchText(tNumber,"([-]?)([0-9]*)[\.]?([0-9*)",tMinusHold,
> tMainNumber, tDecimalHold)
> --------------------
> Value: unmatched []
>
>
> I don't know so much about the MatchText and regular Expression.
>
> I work with Rev 1.1.1 and Mac OS 9.2
>
> Can you help me.
> --
> Greetings.
>
> Yves COPPE
>
> Email : yvescoppe at skynet.be
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list