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

Posted by Smiley on 03/21/06 00:10

"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.

 

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

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