Pattern matching in QTP
Robert Mills
robert.mills@windsong-services.co.uk
Thu, 25 Mar 2004 13:23:58 -0000
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C4126C.6DFB7320
Content-Type: text/plain;
charset="iso-8859-1"
Thanks Chris.
regards,
Robert W.Mills
Systems Development Manager
Windsong Services
(01689) 870622 x3005
Chris Sharman <mailto:chris.sharman@ccagroup.co.uk> wrote on 25 March 2004
13:15:
> Robert Mills wrote:
>> I need to restrict what values can be entered into a prompted for
>> Global Temporary. The user must be forced to enter an alpha (A-Z)
>> followed by 5 alphanumeric (A-Z, 0-9).
>>
>> Any suggestions on what match pattern I should use?
>>
>> Note: The value will be upshifted on input into the Global Temporary.
>
> "^(^|#)>" (if it's a length 6 temp)
> "^(^|#)(^|#)(^|#)(^|#)(^|#) *" (more generally)
>
> Chris
>
>
> -----------------------------------------------------------------------
>
> Any views expressed in this message are those of the sender and not
> necessarily those of CCA Group. The unauthorized use, disclosure,
> copying or alteration of this message is forbidden. The contents of
> this message may be confidential and/or privileged, copyright CCA
> Group
> and are intended solely for the use of the individual or entity to
> whom
> they are addressed. Whilst this message has been scanned, CCA Group
> cannot guarantee that it is virus free or compatible with your systems
> and accepts no responsibility for any loss or damage arising from its
> use. The recipient is advised to run their own anti-virus software. If
> you receive this message in error please contact
> postmaster@ccagroup.co.uk immediately, destroy any copies and delete
> it
> from your computer systems.
> = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Mailing list: powerh-l@lists.sowder.com
> Subscribe: "subscribe" in message body to
> powerh-l-request@lists.sowder.com
> Unsubscribe: "unsubscribe <password>" in message body to
> powerh-l-request@lists.sowder.com
> http://lists.sowder.com/mailman/listinfo/powerh-l
> This list is closed, thus to post to the list you must be a
> subscriber.
------_=_NextPart_001_01C4126C.6DFB7320
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: Pattern matching in QTP</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Thanks Chris.</FONT>
</P>
<P><FONT SIZE=3D2>regards,</FONT>
</P>
<P><FONT SIZE=3D2>Robert W.Mills</FONT>
<BR><FONT SIZE=3D2>Systems Development Manager</FONT>
<BR><FONT SIZE=3D2>Windsong Services</FONT>
<BR><FONT SIZE=3D2>(01689) 870622 x3005</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Chris Sharman <<A =
HREF=3D"mailto:chris.sharman@ccagroup.co.uk">mailto:chris.sharman@ccagro=
up.co.uk</A>> wrote on 25 March 2004 13:15:</FONT>
</P>
<P><FONT SIZE=3D2>> Robert Mills wrote:</FONT>
<BR><FONT SIZE=3D2>>> I need to restrict what values can be =
entered into a prompted for</FONT>
<BR><FONT SIZE=3D2>>> Global Temporary. The user must be forced =
to enter an alpha (A-Z)</FONT>
<BR><FONT SIZE=3D2>>> followed by 5 alphanumeric (A-Z, 0-9). =
</FONT>
<BR><FONT SIZE=3D2>>> </FONT>
<BR><FONT SIZE=3D2>>> Any suggestions on what match pattern I =
should use?</FONT>
<BR><FONT SIZE=3D2>>> </FONT>
<BR><FONT SIZE=3D2>>> Note: The value will be upshifted on input =
into the Global Temporary.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> "^(^|#)>" (if it's a length 6 =
temp)</FONT>
<BR><FONT SIZE=3D2>> "^(^|#)(^|#)(^|#)(^|#)(^|#) *" (more =
generally)</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Chris</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> =
-----------------------------------------------------------------------<=
/FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Any views expressed in this message are those =
of the sender and not</FONT>
<BR><FONT SIZE=3D2>> necessarily those of CCA Group. The =
unauthorized use, disclosure,</FONT>
<BR><FONT SIZE=3D2>> copying or alteration of this message is =
forbidden. The contents of</FONT>
<BR><FONT SIZE=3D2>> this message may be confidential and/or =
privileged, copyright CCA</FONT>
<BR><FONT SIZE=3D2>> Group </FONT>
<BR><FONT SIZE=3D2>> and are intended solely for the use of the =
individual or entity to</FONT>
<BR><FONT SIZE=3D2>> whom </FONT>
<BR><FONT SIZE=3D2>> they are addressed. Whilst this message =
has been scanned, CCA Group</FONT>
<BR><FONT SIZE=3D2>> cannot guarantee that it is virus free or =
compatible with your systems</FONT>
<BR><FONT SIZE=3D2>> and accepts no responsibility for any loss or =
damage arising from its</FONT>
<BR><FONT SIZE=3D2>> use. The recipient is advised to run their own =
anti-virus software. If</FONT>
<BR><FONT SIZE=3D2>> you receive this message in error please =
contact</FONT>
<BR><FONT SIZE=3D2>> postmaster@ccagroup.co.uk immediately, destroy =
any copies and delete</FONT>
<BR><FONT SIZE=3D2>> it </FONT>
<BR><FONT SIZE=3D2>> from your computer systems.</FONT>
<BR><FONT SIZE=3D2>> =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =
=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D</FONT>
<BR><FONT SIZE=3D2>> Mailing list: powerh-l@lists.sowder.com</FONT>
<BR><FONT SIZE=3D2>> Subscribe: "subscribe" in message =
body to</FONT>
<BR><FONT SIZE=3D2>> powerh-l-request@lists.sowder.com </FONT>
<BR><FONT SIZE=3D2>> Unsubscribe: "unsubscribe =
<password>" in message body to</FONT>
<BR><FONT SIZE=3D2>> powerh-l-request@lists.sowder.com</FONT>
<BR><FONT SIZE=3D2>> <A =
HREF=3D"http://lists.sowder.com/mailman/listinfo/powerh-l" =
TARGET=3D"_blank">http://lists.sowder.com/mailman/listinfo/powerh-l</A> =
</FONT>
<BR><FONT SIZE=3D2>> This list is closed, thus to post to the list =
you must be a</FONT>
<BR><FONT SIZE=3D2>> subscriber. </FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C4126C.6DFB7320--