• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Callback alpha with characters

#1
[eluser]someone Smile[/eluser]
Hello,

I'm looking for callback function which accept characters (čćžšđ). If I use default CI's set_rules function I got error message, so I would like to create some callback function with preg_match.

This is piece of default code for alpha function in CI:
Code:
... return ( ! preg_match("/^([a-z])+$/i", $str)) ...

What I must add to get characters čćžšđ?

Thanks! :-)


Messages In This Thread
Callback alpha with characters - by El Forum - 01-08-2012, 06:19 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.