[cfaussie] Re: regex against word
One I found was the apostrophe above the 'e' in décor. XML throws a wobbly at these types of characters and thought there may be a regex that could grab them when used in these rare occasions. Cheers Drew -Original Message- From: Taco Fleur [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 June 2003 8:19 PM To: CFAussie Mailing List Subject: [cfaussie] Re: regex against word What kind of characters are they? Example would help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew Sent: Thursday, 5 June 2003 5:03 PM To: CFAussie Mailing List Subject: [cfaussie] Re: regex against word microsoft word of course :) Cheers again Drew --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
[cfaussie] Re: regex against word
You don't really need to use a RegEx on this, you can just use the replace function on this, unless you want to remove any special character that makes XML fall over. replace(yourString, é, e, all) I guess your best bet would be to replace the character with the following ISO code or some other equivalent that won't make xml fall over replace(yourString, é, eacute;, all) I'm sure there is a tag or function somewhere that will do exactly what you want when you do a search in google or have a look at http://www.cflib.org/library.cfm?ID=1 Taco -Original Message- From: Andrew Parker [mailto:[EMAIL PROTECTED] Sent: Friday, 6 June 2003 8:58 AM To: CFAussie Mailing List Subject: [cfaussie] Re: regex against word One I found was the apostrophe above the 'e' in décor. XML throws a wobbly at these types of characters and thought there may be a regex that could grab them when used in these rare occasions. Cheers Drew -Original Message- From: Taco Fleur [mailto:[EMAIL PROTECTED] Sent: Thursday, 5 June 2003 8:19 PM To: CFAussie Mailing List Subject: [cfaussie] Re: regex against word What kind of characters are they? Example would help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew Sent: Thursday, 5 June 2003 5:03 PM To: CFAussie Mailing List Subject: [cfaussie] Re: regex against word microsoft word of course :) Cheers again Drew --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ This email, together with any attachments, is intended for the named recipient(s) only and may contain privileged and confidential information. If received in error, please inform the sender as quickly as possible and delete this email and any copies from your computer system network. If not an intended recipient of this email, you must not copy, distribute or rely upon it and any form of disclosure, modification, distribution and/or publication of this email is prohibited. Unless stated otherwise, this email represents only the views of the sender and not the views of the Queensland Government. --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
[cfaussie] Re: regex against word
I guess your best bet would be to replace the character with the following ISO code or some other equivalent that won't make xmlfall over However. NOTE: XML only supports a small set of the escaped characters (not the same set that HTML supports) - so you may find that, while they dont break XML, you may not get the behaviour you actually want (this may, of course, depend on how you are you processing your XML for output). Gary Menzel IT Operations Brisbane -+- ABN AMRO Morgans Limited Level 29, 123 Eagle Street BRISBANE QLD 4000 PH: 07 333 44 828 FX: 07 3834 0828 If this communication is not intended for you and you are not an authorised recipient of this email you are prohibited by law from dealing with or relying on the email or any file attachments. This prohibition includes reading, printing, copying, re-transmitting, disseminating, storing or in any other way dealing or acting in reliance on the information. If you have received this email in error, we request you contact ABN AMRO Morgans Limited immediately by returning the email to [EMAIL PROTECTED] and destroy the original. We will refund any reasonable costs associated with notifying ABN AMRO Morgans. This email is confidential and may contain privileged client information. ABN AMRO Morgans has taken reasonable steps to ensure the accuracy and integrity of all its communications, including electronic communications, but accepts no liability for materials transmitted. Materials may also be transmitted without the knowledge of ABN AMRO Morgans. ABN AMRO Morgans Limited its directors and employees do not accept liability for the results of any actions taken or not on the basis of the information in this report. ABN AMRO Morgans Limited and its associates hold or may hold securities in the companies/trusts mentioned herein. Any recommendation is made on the basis of our research of the investment and may not suit the specific requirements of clients. Assessments of suitability to an individual's portfolio can only be made after an examination of the particular client's investments, financial circumstances and requirements. --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
[cfaussie] Re: regex against word
What kind of characters are they? Example would help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew Sent: Thursday, 5 June 2003 5:03 PM To: CFAussie Mailing List Subject: [cfaussie] Re: regex against word microsoft word of course :) Cheers again Drew --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
[cfaussie] Re: regex against word
microsoft word of course :) Cheers again Drew --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/