diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-09-14 19:52:39 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-09-14 19:52:39 -0700 |
commit | 8e352bfdff6bf99e06c500a9bcf06cbd3e953110 (patch) | |
tree | bc7703278915eec96da1a74ef94c357284bb1ede | |
parent | b799214ad51a1a782593a06e76d9ee656c12d008 (diff) | |
download | txr-8e352bfdff6bf99e06c500a9bcf06cbd3e953110.tar.gz txr-8e352bfdff6bf99e06c500a9bcf06cbd3e953110.tar.bz2 txr-8e352bfdff6bf99e06c500a9bcf06cbd3e953110.zip |
doc: improve example under regsub
* txr.1: instead of (op r^ ...) we can use (fr^ ...).
-rw-r--r-- | txr.1 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38079,7 +38079,7 @@ which indicates that no replacement is to take place. (regsub #/Hello/ "Goodbye" "Hello world!") -> "Goodbye world!" ;; Left-anchored replacement with r^ function: - (regsub (op r^ #/H/) "J" "Hello, hello!") -> "Jello, hello!" + (regsub (fr^ #/H/) "J" "Hello, hello!") -> "Jello, hello!" .cble .coNP Function @ regexp |