summary refs log tree commit diff stats
path: root/src/nre.nim
diff options
context:
space:
mode:
authorFlaviu Tamas <tamasflaviu@gmail.com>2015-05-11 15:45:57 -0400
committerFlaviu Tamas <tamasflaviu@gmail.com>2015-05-11 15:45:57 -0400
commita75cfc98871b07e7670f7dc0bec45012ccbffdf6 (patch)
tree4f8899a524da9918ad40f715660eb7f12013d359 /src/nre.nim
parent0056ebdd150f0f3479ecf8bc4c8f631b70acd7ae (diff)
downloadNim-a75cfc98871b07e7670f7dc0bec45012ccbffdf6.tar.gz
Reweave readme
Also fix some syntax errors in the RST
Diffstat (limited to 'src/nre.nim')
-rw-r--r--src/nre.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nre.nim b/src/nre.nim
index 0585e49b2..f96820b2c 100644
--- a/src/nre.nim
+++ b/src/nre.nim
@@ -47,7 +47,8 @@ from unicode import runeLenAt
 type
   Regex* = ref object
     ## Represents the pattern that things are matched against, constructed with
-    ## ``re(string)``. Examples: ``re"foo"``, ``re(r"(*ANYCRLF)(?x)foo # comment".
+    ## ``re(string)``. Examples: ``re"foo"``, ``re(r"(*ANYCRLF)(?x)foo #
+    ## comment".``
     ##
     ## ``pattern: string``
     ##     the string that was used to create the pattern.