Changeset 31357 in project


Ignore:
Timestamp:
09/10/14 13:19:15 (5 years ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [173.254.216.68]:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/man/4/Unit irregex

    r30951 r31357  
    200200
    201201(irregex-replace/all "[aeiou]" "hello world" "*") => "h*ll* w*rld"
    202 </enscript>
    203 
     202
     203(irregex-replace "(.)(.)" "ab" 2 1 "*")  => "ba*"
     204
     205(irregex-replace "...bar" "xxfoobar" (lambda (m)
     206              (string-reverse (irregex-match-substring m)))) => "xxraboof"
     207
     208(irregex-replace "(...)(bar)" "xxfoobar"  2 (lambda (m)
     209              (string-reverse (irregex-match-substring m 1)))) => "xxbaroof"
     210</enscript>
    204211===== irregex-split
    205212===== irregex-extract
Note: See TracChangeset for help on using the changeset viewer.