Regular expressions
The Princeton Geniza Project database allows for search expressions containing certain 'regular expressions'. Regular expressions are codes that can be inserted in search queries to match patterns of text.
^string | Matches the text at the beginning of the string |
string$ | Matches the text at the end of the string |
. | Matches any single character (including special characters) |
a* | Matches the sequence of zero or more of the specified character |
a+ | Matches the sequence of one or more of the specified character |
a? | Matches zero or one occurrence of the specified character |
abc|def | | Matches either one of the specified strings
[abc] | Matches any one of the specified characters |
Boolean Search
The Princeton Geniza Project database uses a boolean full-text search. This type of search allows users to combine keywords with operators to refine searches. Possible operators and examples of their use:
מולאנא מולאי | Search for rows that contain either of two words by simply typing them consecutively. In this case, the search will find documents that contain either מולאי or מולאנא. |
כתאבי +מולאי+ | Use a + sign before word to search for rows that contain all of them (in this case the words כתאבי and מולאי) |
כתאבי AND מולאי כתאבי OR מולאי | The keyword AND indicates that both search terms must be present in the results. OR matches either search term. |
כתאב –כתאבה |
Use a - sign to exclude a term from your results (in this case, the search will include כתאב but exclude כתאבה) |
*כתאב ?כתאב |
Use an asterisk or a question mark as a wildcard. An asterix matches any number of characters. A question mark matches any single character |
Bodl. MS heb. d 66/72
Recto: Letter from Abū l-Faraj to Shemuel. In Hebrew and Judaeo-Arabic. Wide space between the lines. The scribe uses ש instead of ס for س. The writer makes excuses for something ('it wasn't my choice') and apologizes and then discusses a financial matter involving 66 dirhams. Verso: Informal note addressed to Abū l-Faraj, presumably the response from Shemuel. Written in a hasty scrawl (a stark contrast from recto). He gives instructions about how much money to send.