Dear Stuart,

@25-Sep-2006, 21:47 -0500 (26-Sep 03:47 here) Stuart Cuddy [SC] in
mid:[EMAIL PROTECTED] said:

... <snip>
SC> I am going to be receiving an e-mail generated from a form on a web
SC> page that will have the following layout:
SC> -----------------------------------------------------------------
SC> Jim, Jones, 111 Portage Ave, Winnipeg, MB, R0G 2J0, 204-555-4463,
SC> [EMAIL PROTECTED], 4444, Tech-P, Burntwood
SC> -----------------------------------------------------------------
... <snip>

SC> I played with the code a bit and now have it as follows:

SC> 
%SetPattRegExp='(?is)(.*?),\s(.*?),\s(.*?)\s(.*?),\s(.*?),\s(.*?)\s(.*?),\s(.*?)\s(.*?),\s(.*?),\s'%-

... <snip>
SC> As  you  can see the 111 is being picked up as a separate subpatt even
SC> though  it is part of the address and does not have a comma behind it.
SC> Can anyone explain why?

The 3rd \s is not preceded by a comma. That would do it ;-).

... <snip>

-- 
Cheers --  //.arck D Pearlstone -- List moderator and fellow end user
TB! v3.85.03 on Windows XP 5.1.2600 Service Pack 2
'
________________________________________________________

http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to