On Sat, Feb 18, 2006 at 10:42:04PM +0100, Patrick wrote:
> im trying to get my regular pattern to allow ������ but it refuses to,
> i have something like this:
> 
> [^a-zA-Z������0-9-_ ]
> 
> But this dosent seem to work, anyone got any ideas?

Quite a few actually:

  - you forgot to use the delimiter in the expression
  - display_errors is off, so you dont see debug errors
  - error_reporting is set to low.
  - the variable you are matching doesn't have the value you think
  - there is a parse error in your script
  - the logic you are using in your if statement is reversed
  - the statement isn't ever getting executed
  - there is some character translations causing the expression to
    change
  - PCRE doesnt like you
  - This looks rather suspicious: '0-9-_'


It might help narrow it down a bit if you could provide a simple
script for how your are using this in context, and how it isn't
working.

Curt
-- 
cat .signature: No such file or directory

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to