 |
This
search engine is for my personal use and the educational use of my students.
You may obtain permission to access the ASPR from the Oxford Text Archives
AHDS. You may use this engine for educational purposes only.
Special Characters:
- &t; (ampersand,
letter, semicolon) for thorn.
- &ae; for asc
- &d; for eth
Advanced GREP searches
only from this page. Please read the warnings carefully. 100
hits is the maximum.
If your results are
all in red, you messed up. Redo your search.
|
Don't experiment.
Please be sparing
of Kleene's star (*). Please don't begin or end your regexp with
it unless absolutely necessary.
Try to begin and end your regexp with \b. Grep is greedy, so
you might otherwise overrun word boundaries.
\b(&t;eod)..?\b
finds lowercase theod, theodne, theode, etc. (&T; for uppercase.)
\bg(i)?eld\w+\b
finds geildan, geldan, geldenne, etc. (a . instead of \w
will ruin the search). Note that the parentheses are not necessary.
|
| \b |
word boundary |
? |
previous character
zero or one time |
| \w |
alphanumeric
character |
+ |
previous character
one or more times |
| \W |
non-alphanumeric |
^ |
following character
at beginning of line |
| \d |
digit |
$ |
previous character
at end of line |
| \D |
non-digit |
[xyz] |
any one
of x, y, z |
| \s |
whitespace (NL,
tab, etc.) |
(xyz) |
all
of xyz together (groups xyz) |
| \ |
escapes next
character |
| |
or |
| . |
single instance
wildcard |
{x,y} |
minimum-x and
maximum-y times of match |
| * |
multiple instance
wildcard (DANGER) |
\Q xy \E |
escape and
reestablish special characters for expression xy |
|