help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help improve regular expression for 24 hours format


From: tomas
Subject: Re: Help improve regular expression for 24 hours format
Date: Thu, 24 Nov 2022 11:45:09 +0100

On Thu, Nov 24, 2022 at 01:31:00PM +0300, Jean Louis wrote:

[...]

> Do you have completed example using: 
> (or (seq "0" (any digit)) (seq "1" (any digit)) (seq "2" (any "0-3"))) ?

I'm not supposed to be doing this now, so the rest is left as an
exercise to the reader, alas.

Hint: look at the regexp your `rx' invocation produces and translate
backwards from it.

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]