SSAS and RegExp
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Macromedia Flash Server > SSAS and RegExp




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    SSAS and RegExp  
Carl Sziebert


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-06 01:50 AM

I made an attempt to STFA with no luck, so sorry if this topic is a
duplicate.

Has anyone made an attempt to adapt Pavils Jurjans' RegExp class to work
on the server-side?  Our FlashComm apps use server-side filtering for
chat and the current process is (to say the least) painful.  We filter
for valid characters, bad words and repetitive messages.  I'd like to
leverage regular expressions to do the filtering and am curious to see
if anyone else has taken a shot at it.

Thanks in advance.

Carl
--
Carl Sziebert
Lead Programmer
STREAMray, Inc.

For every complex problem, there is a solution that is simple, neat, and
wrong. - H. L. Mencken

CONFIDENTIALITY NOTICE: The information contained in this communication
may be legally privileged, confidential or otherwise protected by law.
It is intended only for the use and information of the individuals or
entities to whom it is addressed.  If you are not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this communication is strictly prohibited.  If you have
received this communication in error, please immediately notify us and
delete the original message and any copies.=20



=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    RE: SSAS and RegExp  
Peldi Guilizzoni


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-06 01:50 AM

Carl, it just works, RegExp are available on the server-side already.
Check out any Javascript book for .replace etc. For instance, to
highlight email addresses in a msg, you can use this:

mesg =3D
mesg.replace(/(([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-
Z0-9]{2,
4})+)/g, "<font color=3D\"#0000FF\"><u><a
href=3D\"mailto:$1\">$1</a></u></font>");=20

Peldi

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Carl
Sziebert
Sent: Wednesday, January 25, 2006 8:28 AM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] SSAS and RegExp

I made an attempt to STFA with no luck, so sorry if this topic is a
duplicate.

Has anyone made an attempt to adapt Pavils Jurjans' RegExp class to work
on the server-side?  Our FlashComm apps use server-side filtering for
chat and the current process is (to say the least) painful.  We filter
for valid characters, bad words and repetitive messages.  I'd like to
leverage regular expressions to do the filtering and am curious to see
if anyone else has taken a shot at it.

Thanks in advance.

Carl
--
Carl Sziebert
Lead Programmer
STREAMray, Inc.

For every complex problem, there is a solution that is simple, neat, and
wrong. - H. L. Mencken

CONFIDENTIALITY NOTICE: The information contained in this communication
may be legally privileged, confidential or otherwise protected by law.
It is intended only for the use and information of the individuals or
entities to whom it is addressed.  If you are not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this communication is strictly prohibited.  If you have
received this communication in error, please immediately notify us and
delete the original message and any copies.=20



=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    RE: SSAS and RegExp  
Carl Sziebert


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-06 01:50 AM

Thanks Peldi!!  Don't know why I didn't just try it.  Guess my brain
needs a jump start.

Carl


-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Peldi
Guilizzoni
Sent: Wednesday, January 25, 2006 8:35 AM
To: FlashComm Mailing List
Subject: RE: [FlashComm] SSAS and RegExp

Carl, it just works, RegExp are available on the server-side already.
Check out any Javascript book for .replace etc. For instance, to
highlight email addresses in a msg, you can use this:

mesg =3D
mesg.replace(/(([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-
Z0-9]{2,
4})+)/g, "<font color=3D\"#0000FF\"><u><a
href=3D\"mailto:$1\">$1</a></u></font>");=20

Peldi

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.
org] On Behalf Of Carl
Sziebert
Sent: Wednesday, January 25, 2006 8:28 AM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] SSAS and RegExp

I made an attempt to STFA with no luck, so sorry if this topic is a
duplicate.

Has anyone made an attempt to adapt Pavils Jurjans' RegExp class to work
on the server-side?  Our FlashComm apps use server-side filtering for
chat and the current process is (to say the least) painful.  We filter
for valid characters, bad words and repetitive messages.  I'd like to
leverage regular expressions to do the filtering and am curious to see
if anyone else has taken a shot at it.

Thanks in advance.

Carl
--
Carl Sziebert
Lead Programmer
STREAMray, Inc.

For every complex problem, there is a solution that is simple, neat, and
wrong. - H. L. Mencken

CONFIDENTIALITY NOTICE: The information contained in this communication
may be legally privileged, confidential or otherwise protected by law.
It is intended only for the use and information of the individuals or
entities to whom it is addressed.  If you are not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this communication is strictly prohibited.  If you have
received this communication in error, please immediately notify us and
delete the original message and any copies.=20



=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

=3D---------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D---------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    RE: SSAS and RegExp  
Edward Chan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-28-06 01:50 AM

I have not used the RegExp object personally, but it should be available
in SSAS since it is part of the standard JavaScript set of objects.

Ed

> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org=
20
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gman
e.org] On Behalf Of=20
> Carl Sziebert
> Sent: Wednesday, January 25, 2006 8:28 AM
> To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> Subject: [FlashComm] SSAS and RegExp
>=20
> I made an attempt to STFA with no luck, so sorry if this=20
> topic is a duplicate.
>=20
> Has anyone made an attempt to adapt Pavils Jurjans' RegExp=20
> class to work on the server-side?  Our FlashComm apps use=20
> server-side filtering for chat and the current process is (to=20
> say the least) painful.  We filter for valid characters, bad=20
> words and repetitive messages.  I'd like to leverage regular=20
> expressions to do the filtering and am curious to see if=20
> anyone else has taken a shot at it.
>=20
> Thanks in advance.
>=20
> Carl
> --
> Carl Sziebert
> Lead Programmer
> STREAMray, Inc.
>=20
> For every complex problem, there is a solution that is=20
> simple, neat, and wrong. - H. L. Mencken
>=20
> CONFIDENTIALITY NOTICE: The information contained in this=20
> communication may be legally privileged, confidential or=20
> otherwise protected by law.
> It is intended only for the use and information of the=20
> individuals or entities to whom it is addressed.  If you are=20
> not the intended recipient, you are hereby notified that any=20
> dissemination, distribution or copying of this communication=20
> is strictly prohibited.  If you have received this=20
> communication in error, please immediately notify us and=20
> delete the original message and any copies.=20
>=20
>=20
>=20
> =3D---------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =3D---------------------------------------------------------
>=20
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>=20

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:17 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register