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 &lt;<A =
HREF=3D"mailto:chris.sharman@ccagroup.co.uk">mailto:chris.sharman@ccagro=
up.co.uk</A>&gt; wrote on 25 March 2004 13:15:</FONT>
</P>

<P><FONT SIZE=3D2>&gt; Robert Mills wrote:</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; I need to restrict what values can be =
entered into a prompted for</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; Global Temporary. The user must be forced =
to enter an alpha (A-Z)</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; followed by 5 alphanumeric (A-Z, 0-9). =
</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; </FONT>
<BR><FONT SIZE=3D2>&gt;&gt; Any suggestions on what match pattern I =
should use?</FONT>
<BR><FONT SIZE=3D2>&gt;&gt; </FONT>
<BR><FONT SIZE=3D2>&gt;&gt; Note: The value will be upshifted on input =
into the Global Temporary.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &quot;^(^|#)&gt;&quot; (if it's a length 6 =
temp)</FONT>
<BR><FONT SIZE=3D2>&gt; &quot;^(^|#)(^|#)(^|#)(^|#)(^|#) *&quot; (more =
generally)</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Chris</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; =
-----------------------------------------------------------------------<=
/FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Any views expressed in this message are those =
of the sender and not</FONT>
<BR><FONT SIZE=3D2>&gt; necessarily those of CCA Group.&nbsp; The =
unauthorized use, disclosure,</FONT>
<BR><FONT SIZE=3D2>&gt; copying or alteration of this message is =
forbidden.&nbsp; The contents of</FONT>
<BR><FONT SIZE=3D2>&gt; this message may be confidential and/or =
privileged, copyright CCA</FONT>
<BR><FONT SIZE=3D2>&gt; Group </FONT>
<BR><FONT SIZE=3D2>&gt; and are intended solely for the use of the =
individual or entity to</FONT>
<BR><FONT SIZE=3D2>&gt; whom </FONT>
<BR><FONT SIZE=3D2>&gt; they are addressed.&nbsp; Whilst this message =
has been scanned, CCA Group</FONT>
<BR><FONT SIZE=3D2>&gt; cannot guarantee that it is virus free or =
compatible with your systems</FONT>
<BR><FONT SIZE=3D2>&gt; and accepts no responsibility for any loss or =
damage arising from its</FONT>
<BR><FONT SIZE=3D2>&gt; use. The recipient is advised to run their own =
anti-virus software. If</FONT>
<BR><FONT SIZE=3D2>&gt; you receive this message in error please =
contact</FONT>
<BR><FONT SIZE=3D2>&gt; postmaster@ccagroup.co.uk immediately, destroy =
any copies and delete</FONT>
<BR><FONT SIZE=3D2>&gt; it </FONT>
<BR><FONT SIZE=3D2>&gt; from your computer systems.</FONT>
<BR><FONT SIZE=3D2>&gt; =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>&gt; Mailing list: powerh-l@lists.sowder.com</FONT>
<BR><FONT SIZE=3D2>&gt; Subscribe: &quot;subscribe&quot; in message =
body to</FONT>
<BR><FONT SIZE=3D2>&gt; powerh-l-request@lists.sowder.com </FONT>
<BR><FONT SIZE=3D2>&gt; Unsubscribe: &quot;unsubscribe =
&lt;password&gt;&quot; in message body to</FONT>
<BR><FONT SIZE=3D2>&gt; powerh-l-request@lists.sowder.com</FONT>
<BR><FONT SIZE=3D2>&gt; <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>&gt; This list is closed, thus to post to the list =
you must be a</FONT>
<BR><FONT SIZE=3D2>&gt; subscriber. </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C4126C.6DFB7320--