[I18NGR] regular expressions και ελληνικά
Evaggelos Balaskas
ebalaskas at ebalaskas.gr
Fri Mar 13 19:06:52 EET 2009
Δεν νομίζω ότι το συγκεκριμένο email αφορά την συγκεκριμένη λίστα.
Dimitrios Michelinakis wrote:
> Exo provlima me ta regular expressions kai tha ithela ligi voithia.
>
> Prospatho na ftiajo ena regex pou ine case-insensitive stin PHP, ara
> to regex mou exi parametro "/i". Distixos afto den doulevi, paradigma:
>
> regex: /ΚΙΝΗΤΗΡΑ/i
> string: κινητήρα
>
> To parapano den vriski tipota, kathos ta PCRE regular expressions tis PHP
> den katalavenoun oti: "Η" == "ή" == "η" == "Ή"
>
> Diladi, vlepoun mono "Η" == "η" kai "Ή" == "ή" jexorista.
>
> Epikinonisa me tous developers tis PHP kai mou ipan oti ine thema PCRE,
> etsi epikinonisa me aftous kai mou ipan oti den tous endiaferi to provlima
> giati to Unicode standard kani "match" mono dio xaraktires gia kefalea/mikra
> kai oxi teseris.
>
> Sigoura boro apo tin PHP na peraso olo to string se kefalea kai meta na trejo
> to regex, alla afto den ine lisi, kalitera na diorthona to PCRE kai na doulevoun
> ola ta regex sosta se oli tin PHP.
>
> Tha ithela ta sxolia sas parakalo.
>
> Efxaristo kai signomi gia ta greeklish :(
>
>
--
Evaggelos Balaskas
Unix System Engineer - http://ebalaskas.gr/wiki/
Informatics Engineer Technological Education
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.hellug.gr/pipermail/i18ngr/attachments/20090313/4a1bc907/attachment.pgp>
More information about the I18ngr
mailing list