Well after further research of my formating problem in a datagrid cell I was able to find the mystery of this issue as I was beginning to think there was a bug in Flex.
I am using Flex builder plugin 2 not 3 (more of a reason to upgrade). After spending about 45 minutes reading page after page of the doc's I finally found the answer via Bruce Purcell's blog (Thanks Bruce). My regex that works correctly in CF actually works right in Flex. The issue was that not only do you have to use the wordWrap'"true" on the datagrid column, you also have to explicitly set the variableRowHeight attribute in the datagrid to true. It is implicitly set to false by default. Once this was corrected the regex worked as expected. One of those gotcha's. Thanks to everyone for their input. -------------- Original message ---------------------- From: "Darin Kohles" <[EMAIL PROTECTED]> > Heres an example, or how I've done clean up using regex in Flex (this happens > to > be part of phone number format process) > > phone.text.replace(/\D+/g,""); //remove non-numerics > > > Check the String class for further details and and links to the full regex > discussion. > > > -----Original Message----- > From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] > Sent: Wed 1/23/2008 7:11 AM > To: [email protected] > Subject: [AFFUG Discuss] meeting > > I'd like to thank John Mason of FusionLink for putting on a great meeting > with > Ben Forta. > > And thanks for offering the 360/Flex tickets as a door prize. I am looking > forward to it. > > A quick question to the list also. > > Will CF regular expressions work in Flex. > More specifically will the ascii characters work? > > Will CF - [Chr(13)] work in a Flex regex? > > The Flex doc's state that we can use ascii characters, but I am unsure of the > format to lay it out in. > > RL > > > > ------------------------------------------------------------- > To unsubscribe from this list, simply email the list with unsubscribe in the > subject line > > For more info, see http://www.affug.com > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > List hosted by http://www.fusionlink.com > ------------------------------------------------------------- > > > > > > > ------------------------------------------------------------- > > To unsubscribe from this list, simply email the list with unsubscribe in the > subject line > > > > For more info, see http://www.affug.com > > Archive @ http://www.mail-archive.com/discussion%40affug.com/ > > List hosted by http://www.fusionlink.com > > ------------------------------------------------------------- > >
--- Begin Message --- Title: RE: [AFFUG Discuss] meetingHeres an example, or how I've done clean up using regex in Flex (this happens to be part of phone number format process)
phone.text.replace(/\D+/g,""); //remove non-numerics
Check the String class for further details and and links to the full regex discussion.
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
Sent: Wed 1/23/2008 7:11 AM
To: [email protected]
Subject: [AFFUG Discuss] meeting
I'd like to thank John Mason of FusionLink for putting on a great meeting with Ben Forta.
And thanks for offering the 360/Flex tickets as a door prize. I am looking forward to it.
A quick question to the list also.
Will CF regular expressions work in Flex.
More specifically will the ascii characters work?
Will CF - [Chr(13)] work in a Flex regex?
The Flex doc's state that we can use ascii characters, but I am unsure of the format to lay it out in.
RL
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by FusionLink
-------------------------------------------------------------
--- End Message ---
