diff options
author | Paul McGuire <ptmcg@users.noreply.github.com> | 2020-08-22 00:16:07 -0500 |
---|---|---|
committer | Paul McGuire <ptmcg@users.noreply.github.com> | 2020-10-11 19:48:06 -0500 |
commit | a5c77176ffa0275e1ce8768ccabd105f873e406c (patch) | |
tree | 7d4dec2a648661792e4790f849373a2fdaff3aef /docs/HowToUsePyparsing.rst | |
parent | 64e324569a7c4cb98a8525dcea81b50e1ff7ce66 (diff) | |
download | pyparsing-git-a5c77176ffa0275e1ce8768ccabd105f873e406c.tar.gz |
Updated HowToUsePyparsing.rst and whats_new_in_3_0_0.rst docs
Diffstat (limited to 'docs/HowToUsePyparsing.rst')
-rw-r--r-- | docs/HowToUsePyparsing.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/HowToUsePyparsing.rst b/docs/HowToUsePyparsing.rst index 4e3c24b..f738b08 100644 --- a/docs/HowToUsePyparsing.rst +++ b/docs/HowToUsePyparsing.rst @@ -124,7 +124,7 @@ Usage notes more of the following methods: - use the static method ``ParserElement.setDefaultWhitespaceChars`` - to override the normal set of whitespace chars (' \t\n'). For instance + to override the normal set of whitespace chars (``' \t\n'``). For instance when defining a grammar in which newlines are significant, you should call ``ParserElement.setDefaultWhitespaceChars(' \t')`` to remove newline from the set of skippable whitespace characters. Calling @@ -513,9 +513,9 @@ Basic ParserElement subclasses - ``Regex`` - a powerful construct, that accepts a regular expression to be matched at the current parse position; accepts an optional - ``flags`` parameter, corresponding to the flags parameter in the re.compile + ``flags`` parameter, corresponding to the flags parameter in the ``re.compile`` method; if the expression includes named sub-fields, they will be - represented in the returned ParseResults_ + represented in the returned ParseResults_. - ``QuotedString`` - supports the definition of custom quoted string formats, in addition to pyparsing's built-in ``dblQuotedString`` and |