Mailing list - Entries of 2005


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [qftestJUI] Re: Checking that text field is POPULATED with text


  • Subject: Re: [qftestJUI] Re: Checking that text field is POPULATED with text
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: Tue, 01 Feb 2005 18:03:01 -0000

Hello Frank,

thanks for the info. The {...} construct works, which was news to me :-)


Indeed, we've been thinking about whether to switch packages. Jython
comes with its own regexp module and it would be more consitent to use
that. Unfortunately, at the time qftestJUI was initially released,
this part of Jython wasn't open source. It has been released as open
source by now so we could use it, but I didn't want to introduce
problems due to subtle incompatibilities.

It's possible that we will use some package other than GNU regexp for
qftestJUI 2.0 though. Of course we'll try to maintain backwards
compatibility.

Best regards,
    Greg

Frank LaFond <fdl@?.com> writes:

> The manual (Appendix E) lists: http://www.cacas.org/java/gnu/regexp as
> the reference for their regular expression library. From:
>
>      http://www.cacas.org/java/gnu/regexp/syntax.html
>
> It would appear to match exactly 8 A or Bs would be:
>
>      [A-B]{8}     or just     [AB]{8}
>
> To match 1 to 8 As or Bs would be:
>
>      [AB]{1,8}
>
> To match 8 or more As or Bs:
>
>      [AB]{8,}
>
> The documentation does say they may switch to a different regexp
> package in a future release. You may want to ask Gregor and company
> what they have in mind.
>
> I hope that helps.
>
> Frank

--
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876


Videos Downloads Documentation Buy Free Trial