Merge pull request #3352 from tmm1/fix-doc-typos

Fix some minor documentation typos
This commit is contained in:
Andreas Rumpf
2015-09-21 11:58:38 +02:00
4 changed files with 9 additions and 5 deletions

View File

@@ -122,7 +122,7 @@ String handling
This module contains various string matchers for email addresses, etc.
* `subexes <subexes.html>`_
This module implements advanted string substitution operations.
This module implements advanced string substitution operations.
Generic Operating System Services

View File

@@ -1,7 +1,7 @@
Substitution Expressions (subex)
================================
A *subex* (*Substitution Expression*) represents an advanted string
A *subex* (*Substitution Expression*) represents an advanced string
substitution. In contrast to a `regex`:idx: which deals with string analysis, a
*subex* deals with string synthesis.

View File

@@ -18,6 +18,8 @@ import strutils
##
## Quick start example:
##
## .. code-block:: nim
##
## # Create a matrix which first rotates, then scales and at last translates
##
## var m:Matrix2d=rotate(DEG90) & scale(2.0) & move(100.0,200.0)
@@ -93,11 +95,11 @@ let
IDMATRIX*:Matrix2d=matrix2d(1.0,0.0,0.0,1.0,0.0,0.0)
## Quick access to an identity matrix
ORIGO*:Point2d=point2d(0.0,0.0)
## Quick acces to point (0,0)
## Quick access to point (0,0)
XAXIS*:Vector2d=vector2d(1.0,0.0)
## Quick acces to an 2d x-axis unit vector
## Quick access to an 2d x-axis unit vector
YAXIS*:Vector2d=vector2d(0.0,1.0)
## Quick acces to an 2d y-axis unit vector
## Quick access to an 2d y-axis unit vector
# ***************************************

View File

@@ -23,6 +23,8 @@ import times
##
## Quick start example:
##
## .. code-block:: nim
##
## # Create a matrix which first rotates, then scales and at last translates
##
## var m:Matrix3d=rotate(PI,vector3d(1,1,2.5)) & scale(2.0) & move(100.0,200.0,300.0)