use topic directive instead

This commit is contained in:
Yuichi Nishiwaki 2014-06-15 02:41:18 +09:00
parent 96521cfdf9
commit e150916a0f
1 changed files with 5 additions and 10 deletions

View File

@ -55,26 +55,21 @@ Explicit renaming macro family.
(picrin regexp)
---------------
(regexp ptrn [flags])
^^^^^^^^^^^^^^^^^^^^^
.. topic:: (regexp ptrn [flags])
Compiles pattern string into a regexp object. A string flags may contain any of #\g, #\i, #\m.
(regexp? obj)
^^^^^^^^^^^^^
.. topic:: (regexp? obj)
Judges if obj is a regexp object or not.
(regexp-match re input)
^^^^^^^^^^^^^^^^^^^^^^^
.. topic:: (regexp-match re input)
Returns two values: a list of match strings, and a list of match indeces.
(regexp-replace re input txt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. topic:: (regexp-replace re input txt)
(regexp-split re input)
^^^^^^^^^^^^^^^^^^^^^^^
.. topic:: (regexp-split re input)
(picrin control)
----------------