Skip to content

Commit

Permalink
[trie.h] pattern definition: fix documentation
Browse files Browse the repository at this point in the history
The fix makes the definition of `\n` consistent with the examples given below the definition.  Please note that I did not check this against how it is implemented in the code.
  • Loading branch information
jannick0 authored Apr 19, 2020
1 parent cdebe13 commit e044163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dict/trie.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class Trie : public Dawg {
// To denote a character class use one of:
// \c - unichar for which UNICHARSET::get_isalpha() is true (character)
// \d - unichar for which UNICHARSET::get_isdigit() is true
// \n - unichar for which UNICHARSET::get_isdigit() and
// \n - unichar for which UNICHARSET::get_isdigit() or
// UNICHARSET::isalpha() are true
// \p - unichar for which UNICHARSET::get_ispunct() is true
// \a - unichar for which UNICHARSET::get_islower() is true
Expand Down

0 comments on commit e044163

Please sign in to comment.