summaryrefslogtreecommitdiff
path: root/contrib/pg_trgm/trgm_regexp.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2020-06-09 10:41:41 +0200
committerPeter Eisentraut <peter@eisentraut.org>2020-06-09 10:41:41 +0200
commit350f47786c3444d822d6d27829dd6a5426487150 (patch)
tree747497cca046eaa83d16b77923b0e413018815b3 /contrib/pg_trgm/trgm_regexp.c
parentb1d32d3e3230f00b5baba08f75b4f665c7d6dac6 (diff)
Spelling adjustments
similar to 0fd2a79a637f9f96b9830524823df0454e962f96
Diffstat (limited to 'contrib/pg_trgm/trgm_regexp.c')
-rw-r--r--contrib/pg_trgm/trgm_regexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pg_trgm/trgm_regexp.c b/contrib/pg_trgm/trgm_regexp.c
index 1330b615b84..21e8a9f3435 100644
--- a/contrib/pg_trgm/trgm_regexp.c
+++ b/contrib/pg_trgm/trgm_regexp.c
@@ -73,7 +73,7 @@
* (two prefix colors plus a state number from the original NFA) an
* "enter key".
*
- * Each arc of the expanded graph is labelled with a trigram that must be
+ * Each arc of the expanded graph is labeled with a trigram that must be
* present in the string to match. We can construct this from an out-arc of
* the underlying NFA state by combining the expanded state's prefix with the
* color label of the underlying out-arc, if neither prefix position is
@@ -123,7 +123,7 @@
* false positives that we would have to traverse a large fraction of the
* index, the graph is simplified further in a lossy fashion by removing
* color trigrams. When a color trigram is removed, the states connected by
- * any arcs labelled with that trigram are merged.
+ * any arcs labeled with that trigram are merged.
*
* Trigrams do not all have equivalent value for searching: some of them are
* more frequent and some of them are less frequent. Ideally, we would like