From 8e352bfdff6bf99e06c500a9bcf06cbd3e953110 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 14 Sep 2017 19:52:39 -0700 Subject: doc: improve example under regsub * txr.1: instead of (op r^ ...) we can use (fr^ ...). --- txr.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'txr.1') diff --git a/txr.1 b/txr.1 index 5bc526be..98e9d3d2 100644 --- a/txr.1 +++ b/txr.1 @@ -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 -- cgit v1.2.3