RosettaCodeData/Task/Regular-expressions/PicoLisp/regular-expressions-2.l
2023-07-01 13:44:08 -04:00

6 lines
192 B
Text

(let String "The number <7> is incremented"
(use (@A @N @Z)
(and
(match '(@A "<" @N ">" @Z) (chop String))
(format @N)
(prinl @A "<" (inc @) ">" @Z) ) ) )