Digital Innovation finalist
2017 ELTons awards
Alternatively, you can write your own searches. Hydra uses regular expressions for pattern matching. Here are the basics:
Meaning | Syntax | Examples (click to see the results) | Sample matches |
One exact expression | expression | news | news |
One exact expression | expression | news that | news that |
expression1 or expression2 | (expression1|expression2) | (some|any) | some, any |
he (said|told) | he said, he told | ||
(would|should|must|wo)n't | wouldn't, shouldn't, mustn't, won't | ||
Wildcard (one word or part of the word) | * | a * problem | a big problem, a severe problem |
I('m| am) *ing | I'm using, I'm going, I'm trying | ||
(m|s|re|are|is|was|were|be|being) *ed | 's called, be limited, is used, are called | ||
Wildcards (one word/part of word or more) | ** | I ** know | I want to know, I don't really know, I don't know |
I('m| am) **ed | I'm excited, I'm really excited, I'm wondering how this example can be applied | ||
Optional part | (expression)? | I would(n't)? | I would, I wouldn't |