You are here: Re: Ereg Dashes « All PHP « IT news, forums, messages
Re: Ereg Dashes

Posted by Johannes Wienke on 03/21/06 01:11

Am 20.03.2006 23:10 schrieb Smiley:
> "Johannes Wienke" <spam@semipol.de> wrote in message
> news:488ke4FivlejU1@news.dfncis.de...
>> Am 20.03.2006 21:57 schrieb Smiley:
>>> I'm trying to write some code that checks my input for any illegal
>>> characters. I want to make the dash "-" a legal character, but I can't
>>> figure out how to do that being as it's always interpreted as a range
>>> symbol.
>> \-
>
> I tried \- but it considered the \ to be a character and the - to represent
> a range to the next character I put in.

Show your whole expression. It must be in double-quotes.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация