Metacharacters & pattern matching

Peter Bateman peterbateman808 at hotmail.com
Fri Apr 4 07:36:07 CDT 2008


Hi Nick: Your dictionary should say ASCII8 for the character set. You  are probably using DEC Supplemental as your character set. I would check numeric code for  £. The WIN 1252 € is not in DEC Supplemental.You could try TERM=VT220-ANY QUIZ  Define x integer size 2 = 0 report sum xset sub name xsub keepgodefine a character size 1 = "£"define i integer size 2 = 0define b character size 1 = characters (i) rep sum a bset sub name xsub append keepgoaccess *xsubrep xgo Check to see if £ is in the list of DEC control characters. I would check with customer support.I believe I logged a bug about this but it has beenso long I can't remember the exact details.There may be something at the OS level to turnthis off. Good luck,Peter Bateman________________________________> Subject: RE: Metacharacters & pattern matching> Date: Tue, 25 Mar 2008 17:21:12 +0000> From: Nick.Butland at acco.com> To: powerh-l at lists.sowder.com> CC: Ken at Langendock.com> > > Sorry, yes, I have done that. From our dictionary:> > > >  06  Special Name Char    "-_'%#$"           Decimal Char.        "."> >  07  Generic Retrieval    "@"                Multiline Heading    "^"> >  08  Picture Substitution "^"                Message Substitution "^"> > > > > >     Metacharacters> >  01 Escape           "!"                        06 Match Repeating  ">"        11 Match Digit    "#"> >  02 Logical Or       "|"          07 Match Optional   "<"         12 Match Anything "@"> >  03 Optional Repeat  "*"      08 Match Not        "\"            13 Match Null     "0"> >  04 Left Paren.      "("           09 Match Any        "?"             14 Reserved       "[]=;&"> >  05 Right Paren.     ")"          10 Match Alpha      "^"           15 Match Kanji    ":"> > > > > > Nick Butland> IT Project Leader, Acco UK> > Tel 01296-732150> Fax 01296-732151> Email: nick.butland at acco.com> > > > ________________________________> > From: Ken Langendock [mailto:Ken at Langendock.com]> Sent: 25 March 2008 14:35> To: powerh-l at lists.sowder.com> Subject: RE: Metacharacters & pattern matching> > > > Have you checked the PDL for your dictionary and made sure that symbol is not used as a “Reserved” or any other option in the “System Options” declaration of the PDL?> > > > This might cause some weird issues.> > > > Ken> > > > > > From: powerh-l-bounces+ken.langendock=rogers.com at lists.sowder.com [mailto:powerh-l-bounces+ken.langendock=rogers.com at lists.sowder.com] On Behalf Of Butland, Nick> Sent: Tuesday, March 25, 2008 10:21 AM> To: powerh-l at lists.sowder.com> Subject: Metacharacters & pattern matching> > > > Let’s see if anyone else can crack this, because I am fed up seeing the message “Invalid pattern specification.  Check pattern syntax.”> > > > Operating system is VMS v7.2-2,> > PowerHouse version 7.10.E6 (as it has been for rather a long time…).> > > > I have an element which has an existing pattern of “(\!|)*”. This allows any number of any alphanumeric character with the exclusion of the “post” character, as we use this as a delimiter for some data imports into Excel.> > > > Last week we had an interface fail as the result of the inclusion of a £ character in the data. I have tried to amend the pattern to something along the lines of “(\((!|)|£))*”, but this gives the error message above. The current try has "(\£|(!|))*", but any input into this triggers the message “There is a control character in this pattern.”> > > > Any suggestions? So far as I am aware, all the entries on the metacharacter screen are defaults.> > > > Thanks,> > Nick Butland> IT Project Leader, Acco UK> > Tel 01296-732150> Fax 01296-732151> Email: nick.butland at acco.com> > > > ________________________________> > DISCLAIMER> *****************> This email and any attachments thereto, may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above. Any use of the information contained herein (including but not limited to total or, partial reproduction, communication or, distribution in any form) or, the taking of any action in reliance on the contents by persons other than the designated recipient(s) is strictly prohibited.> If you have received this email in error, please notify the sender either by telephone or, by email and delete the material from any computer.> > Legal entity details can be found at the following link: http://www.accoeurope.com/legalEntities/> > Thank you for your co-operation.> > ________________________________> DISCLAIMER> *****************> This email and any attachments thereto, may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above. Any use of the information contained herein (including but not limited to total or, partial reproduction, communication or, distribution in any form) or, the taking of any action in reliance on the contents by persons other than the designated recipient(s) is strictly prohibited.> If you have received this email in error, please notify the sender either by telephone or, by email and delete the material from any computer.> > Legal entity details can be found at the following link: http://www.accoeurope.com/legalEntities/> > Thank you for your co-operation.
_________________________________________________________________
If you like crossword puzzles, then you'll love Flexicon, a game which combines four overlapping crossword puzzles into one!
http://g.msn.ca/ca55/208
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20080404/e68063ec/attachment.htm


More information about the powerh-l mailing list