On Fri, Sep 14, 2018 at 10:11 PM ToddAndMargo <toddandma...@zoho.com> wrote:
>
> On 09/14/2018 07:34 PM, Brad Gilbert wrote:
> >     $x ~~ s/ <:Cc>+ $ //;
>
> What exactly is <:Cc> again?

< and >  inside of a regular expression is for advanced features

If the first character is   :   then it knows to look for Unicode properties

One of those properties is GeneralCategory.

The General Category for the weird characters is Cc

( I think it is Control, common )

So this works

    / <:GeneralCategory<Cc>> /

As a shortcut, you can leave off the "GeneralCategory" portion

    / <:Cc> /

Reply via email to