Re: UTF-8 support / Perl regex \p{} unicode character property in 4.0.x

Jona Müller <[email protected]> Sat, 28 Mar 2026 14:38:37 +0100
Newsgroups gmane.mail.spam.spamassassin.general
Message-ID <acfZ3fymKDD4PYdI@MacbookPro>
Classic. Can confirm that it works. Thanks. 

Is there a specific reason you put the replace tags directly into the ruleset
but the emoji subrules into your sandbox? I've just dropped 20_emoji.cf into
/etc for now, so just curious. 

-jm
-- 
================================
Independend GmbH

[email protected]
+49 6832 265556

http://ind.me

On Fri, Mar 27, 2026 at 09:35:56AM -0700, John Hardin wrote:
> On Fri, 27 Mar 2026, Jona Müller wrote:
> 
> > I've tested it and it seems to work pretty well. In the code page
> > 
> > 	https://en.wikipedia.org/wiki/Symbols_and_Pictographs_Extended-A
> > 
> > The first U+1FA7x get matched, but U+1FAEx do not, there is some weirdness going
> > on there because thats a problem I already had with my rules. It's not really an
> > issue but I wanted to mention it anyways.
> > 
> > For example these are among those that aren't matched:
> > 🫡🫣🫢🫠🫤
> 
> Off-by-one error in a range definition. Fixed.
> 
> 
> -- 
>  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
>  [email protected]                         pgpk -a [email protected]
>  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
> -----------------------------------------------------------------------
>   The United States has become a place where entertainers and
>   professional athletes are mistaken for people of importance.
>                                         -- Maureen Johnson Smith Long
> -----------------------------------------------------------------------
>  5 days until April Fools' day
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEM0qOw5hydnArKgH2jALoLo7pDpwFAmnH2doACgkQjALoLo7p
DpxuFRAAqvY7klhTmurWQP66F/0aTgDETepUasUgiI1e4wNPn+hF+c6VQv465TEG
ViwS85Xz4jl5kWhWD5NZ7ylIdfB2RdRt7cC5Imm/V8q3ZJpM0Y3jP6x4xR8ZM4tm
Af5cM89wHCcv3uvnVsSXwO5lsgTGvaxCxI0HgiCgJTDw7GIDI06DV2K+5ddYwOnw
KKmuQGBwe1/jkVY+9skna0oEXGgu93dQbhUk6ist0hVsfreoahW9KMChUW3Dqd6n
xqfjSAH/UZ36Hno/a2oSVPnje6TzDb+6Ecj45CZRRANaBGVHzQtfPKaPJHxKpTwO
NysDhz61T7haGEZrM8d0QPmhBkArmYyeJyVWUc40g7k8dOCrXHJmPtvkHY4v5Eve
UN7FggSczNciW0btLa2QE7QwycenUyXiAP5l4Nj/H2CQlGUgpteW/Ycf+OJFtCfw
uv+m+MzNfzAlALxM2ymjkZCTvzZMUXbwmnnty/Otk52oqJhV2uJt5nw4h4Ye5aFy
HSpr/O0m/AHQ7BeyQck4AhByV3fwCou3YURdRaKGIizCC+62g5HLI0Q3IDD7yFgX
RCZeW1B+3F6qW5GWXqGFDh8qt8eP/wzkoJ15EsgbTqFoVCIqttmZhUFqdWB4u+13
1av1NyIL8fN2COat4nJpfRKxitp9uCwKiMjh5X1m7BujSzSnxj0=
=uvgL
-----END PGP SIGNATURE-----