http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6629

Fridolyn SOMERS <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #17 from Fridolyn SOMERS <[email protected]> 2011-11-25 
12:10:46 UTC ---
(In reply to comment #9)
>  - the regexp is not accurate (I think):
>      use        s/[^a-zA-Z_-]*//g
>      instead of s/[^a-zA-Z_-]*//

I agree :
  $lang =~ s/[^a-zA-Z_-]*//;
It replaces only first occurence of pattern.
So it will clean heading special characters but not within or after.

Global matching : 
  $lang =~ s/[^a-zA-Z_-]//g;
There every special character is removed.

Thanks for your work.
Best regards.

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to