From da2a71fe650683d5a6fbd61c5e8cbc36d5cb0ef5 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sun, 15 Jun 2014 02:46:02 +0900 Subject: [PATCH] try using glossary directive --- docs/libs.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/libs.rst b/docs/libs.rst index ebec4f88..7a6ab15e 100644 --- a/docs/libs.rst +++ b/docs/libs.rst @@ -55,21 +55,22 @@ Explicit renaming macro family. (picrin regexp) --------------- -.. topic:: (regexp ptrn [flags]) +.. glossary:: -Compiles pattern string into a regexp object. A string flags may contain any of #\g, #\i, #\m. + (regexp ptrn [flags]) -.. topic:: (regexp? obj) + Compiles pattern string into a regexp object. A string flags may contain any of #\g, #\i, #\m. -Judges if obj is a regexp object or not. + (regexp? obj) -.. topic:: (regexp-match re input) + Judges if obj is a regexp object or not. -Returns two values: a list of match strings, and a list of match indeces. + (regexp-match re input) -.. topic:: (regexp-replace re input txt) + Returns two values: a list of match strings, and a list of match indeces. -.. topic:: (regexp-split re input) + (regexp-replace re input txt) + (regexp-split re input) (picrin control) ----------------