Skip to content

Commit

Permalink
Fixed function links in doc/manual/strings.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarne committed Dec 22, 2014
1 parent ab50bf8 commit bf5a404
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions doc/manual/strings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ convert an integer value back to a ``Char`` just as easily:
'x'

Not all integer values are valid Unicode code points, but for
performance, the ``char`` conversion does not check that every character
performance, the :func:`char` conversion does not check that every character
value is valid. If you want to check that each converted value is a
valid code point, use the :func:`is_valid_char` function:

Expand Down Expand Up @@ -388,7 +388,7 @@ One of the most common and useful string operations is concatenation:
"Hello, world.\n"

Constructing strings like this can become a bit cumbersome, however. To
reduce the need for these verbose calls to ``string``, Julia allows
reduce the need for these verbose calls to :func:`string`, Julia allows
interpolation into string literals using ``$``, as in Perl:

.. doctest::
Expand Down Expand Up @@ -466,7 +466,7 @@ operators:
true

You can search for the index of a particular character using the
``search`` function:
:func:`search` function:

.. doctest::

Expand All @@ -493,7 +493,7 @@ a third argument:
julia> search("xylophone", 'o', 8)
0

Two other handy string functions are ``repeat`` and ``join``:
Two other handy string functions are :func:`repeat` and :func:`join`:

.. doctest::

Expand Down Expand Up @@ -558,7 +558,7 @@ any options turned on just uses ``r"..."``:
julia> typeof(ans)
Regex (constructor with 3 methods)

To check if a regex matches a string, use the ``ismatch`` function:
To check if a regex matches a string, use the :func:`ismatch` function:

.. doctest::

Expand All @@ -572,7 +572,7 @@ As one can see here, ``ismatch`` simply returns true or false,
indicating whether the given regex matches the string or not. Commonly,
however, one wants to know not just whether a string matched, but also
*how* it matched. To capture this information about a match, use the
``match`` function instead:
:func:`match` function instead:

.. doctest::

Expand Down

0 comments on commit bf5a404

Please sign in to comment.