Preceding Element +
Summary
+ matches the preceding element one or more times. The element can be:
Syntax |
Semantics |
Recommended Use |
---|---|---|
character+
|
Where one character is followed by the + sign. |
Use it to match the preceding character one or more times. |
[character- range]+ |
Where a character range is followed by the + sign. |
Use it to match the preceding character range one or more times. |
n+ |
Where a number is followed by the + sign. |
|
Examples
Element |
Example of query |
Results |
---|---|---|
literal |
ab+c |
abc, abbc, abbbc, abbbbc, and so on, but not ac |
literal range |
[abc]+
[a-dx-z]+ |
a, aa, aaa, bb, cab, ba, bca, and so on (all single instances and combinations of a, b and c). Also, a hyphenated word like 'c-omputer'. ax, axax, bzaxbzax, and so on (all single instances and combinations of a, b, c, d, x, y z). Also, a hyphenated word like 'c-omputer'. |
'?' wild card |
?+
b?+ |
All words highlighted.
All words starting with b, as the ? symbol resembles every character. |
number |
10+ |
10, 100, 1000000, and so on |