~ chicken-core (chicken-5) fdd6415b6f145c4a626a1d8f20cf6267177b8a5d
commit fdd6415b6f145c4a626a1d8f20cf6267177b8a5d Author: Evan Hanson <evhan@foldling.org> AuthorDate: Sat Nov 16 17:52:29 2013 +1300 Commit: Evan Hanson <evhan@foldling.org> CommitDate: Sat Nov 16 17:52:31 2013 +1300 Fix literal identifier formatting in the irregex unit's docs This replaces some "\q{{foo}}" escapes (as used in IrRegex's docs) with "{{foo}}" wiki syntax. diff --git a/manual/Unit irregex b/manual/Unit irregex index a7dc32f5..eb845f08 100644 --- a/manual/Unit irregex +++ b/manual/Unit irregex @@ -500,8 +500,8 @@ character in the string. (irregex-match '(* ("aeiou")) "ouais") => #f </enscript> -Ranges are introduced with the \q{/} operator. Any strings or -characters in the \q{/} are flattened and then taken in pairs to +Ranges are introduced with the {{/}} operator. Any strings or +characters in the {{/}} are flattened and then taken in pairs to represent the start and end points, inclusive, of character ranges. <enscript highlight=scheme> @@ -510,11 +510,11 @@ represent the start and end points, inclusive, of character ranges. (irregex-match '(* (/ "AZ09")) "C-3PO") => #f </enscript> -In addition, a number of set algebra operations are provided. \q{or}, +In addition, a number of set algebra operations are provided. {{or}}, of course, has the same meaning, but when all the options are character sets it can be thought of as the set union operator. This -is further extended by the \q{&} set intersection, \q{-} set -difference, and \q{~} set complement operators. +is further extended by the {{&}} set intersection, {{-}} set +difference, and {{~}} set complement operators. <enscript highlight=scheme> (irregex-match '(* (& (/ "az") (~ ("aeiou")))) "xyzzy") => #<match> @@ -561,8 +561,8 @@ limit. => #<match> </enscript> -The most general case, of course, would be an \q{and} pattern to -complement the \q{or} pattern - all the patterns must match or the +The most general case, of course, would be an {{and}} pattern to +complement the {{or}} pattern - all the patterns must match or the whole pattern fails. This may be provided in a future release, although it (and look-ahead and look-behind assertions) are unlikely to be compiled efficiently. @@ -811,7 +811,7 @@ expressions. <procedure>(irregex-opt <list-of-strings>)</procedure> Returns an optimized SRE matching any of the literal strings -in the list, like Emacs' \q{regexp-opt}. Note this optimization +in the list, like Emacs' {{regexp-opt}}. Note this optimization doesn't help when irregex is able to build a DFA. ===== sre->stringTrap