On Thu, 19 Mar 2020 17:03:17 +0000, Mike Scott wrote:
> On 19/03/2020 14:12, Martin Gregorie wrote:
> ....
>> Another annoyance with regcomp/regexec is that the common :alnum:
>> abbreviation is *only* recognised if it occupies the whole set of
>> alternates, i.e. [:alnum:] works, [.:alnum:_-] doesn't.
>
> IMBW But these do indeed /only/ work inside a [...] construct so
> shouldn't your examples read [[:alnum:]]
> and [.[:alnum:]_-]
>
Fair point - never thought of that!
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|