ICT: Diary
D: 28 W: 05

< February 2022 >
Sun Mon Tue Wed Thu Fri Sat
 12345
6789101112
13141516171819
20212223242526
2728 

Based on notaweblog.php by joshua stein

[ ] Sunday, 6 February 2022 [ ]

Nod

Regex

Ranges: ^[a-f]{4} find a range of four letters.

Backrefs: (...).*\1 find a repeating pattern of three letters.

(.)\1{1}[^uy] works regular expressions 101 but doesn't work in regex golf

(?:(.)\1)[^uy] is more efficient, but the answer was:

^(?!(.)+\1)|.u or ^(?!(.)+\1)|ef

This failed in regular expressions 101

A man, a plan: ^(.)(.).*\2\1$

regex


$Id: diary,v 1.38 2025/01/01 22:43:54 fred Exp $