tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
6
Task/Regular-expressions/TXR/regular-expressions-1.txr
Normal file
6
Task/Regular-expressions/TXR/regular-expressions-1.txr
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
@(collect)
|
||||
@(coll :gap 0)@mismatch@{match /dog/}@(end)@suffix
|
||||
@(output)
|
||||
@(rep)@{mismatch}cat@(end)@suffix
|
||||
@(end)
|
||||
@(end)
|
||||
5
Task/Regular-expressions/TXR/regular-expressions-2.txr
Normal file
5
Task/Regular-expressions/TXR/regular-expressions-2.txr
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
@(freeform)
|
||||
@(coll :gap 0)@notcomment@{comment /[/][*].%[*][/]/}@(end)@tail
|
||||
@(output)
|
||||
@(rep)@notcomment @(end)@tail
|
||||
@(end)
|
||||
Loading…
Add table
Add a link
Reference in a new issue