Mailingliste - Einträge 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: Frank LaFond <fdl@?.com>
  • Date: Tue, 01 Feb 2005 10:17:10 -0700

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

Eton Cohen wrote:

Frank:

Thank you for the answer. I read the section on regular expressions, 18.4.

I still have a question: Let's say the text is 8 characters(letters A
through Z). Could I enter something like:
[A-B]8
?

Thanks.

Eton Cohen


--
Frank LaFond | Director of Quality Assurance
Seclarity, Inc. | 2400 Louisiana Blvd NE, AFC-5, Suite 580
Albuquerque, NM 87110 | 505-881-1792 | fdl@?.com



Videos Downloads Dokumentation Kaufen Gratis Testen