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:42:28 +0200
commita5202889b4c78e8ffcdd8be35d59f0a7aa644f64 (patch)
tree0d9670735e871e73a518dd09c8bb44720c22a624 /contrib/pg_trgm/trgm_regexp.c
parent4d655f154565662cbd11f1ce5c0e6a90cd6a8f56 (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