Searching in the advanced user interface

Step 3 in the tutorial Creating an ATC Modification shows how you can search for existing phrases in the ATC recordings of your flight simulator. Unfortunately there is a limited number of recordings, and it can be hard to find the best option.

EditVoicepack allows more advanced search expressions to assist the search. These expressions can also be used in the Search field in the upper left corner of the advanced user interface.

Searching for multiple keywords

Per default, EditVoicepack will do an or search. So if you enter the term royal navy it will return entries with either the text royal, or the text navy.

Including space in searches

You can put multiple words in double quotes to treat them as a single term. For example "Royal Navy" would not match Royal Swedish Navy.

"" (two double quotes with nothing between them) inside a quoted term can be used to search for a double quote. For example , the term """red" will match "red.

Exclude keywords

Prefixing a term with - (minus) will remove any search result containing the term. For example Royal -Navy would return Royal Airforce but not Royal Navy

Force include

Prefixing a term with + (plus) will only return results where the word is present (turning it into an AND search). For example +Royal +Navy will not match the text Royal Airforce.

Phonetic search

Prefixing a term with a ~ will do a phonetic search. It tends to find too many matches to be really useful, but might help now and then. For example ~long will include words like link and luang.

Regular expression:

Regular expressions can be complex to learn, and it is not recommended to go through the effort if you only would like to use them in EditVoicepack. The functionality is included for the benefit of users who are already familiar with regular expressions.

Surround a term in / (forward slash) to do a regular expression search. For example /B72\d/. Regular expressions are case sensitive per default, but you can add modifiers after the last / to change this behavior – for example /b72\d/i. The following modifiers are supported:

  • i: Case insensitive (using the rules of the language you have set your computer to)
  • I (capital i): Case insensitive forcing English casing rules
  • s: Single line match
  • m: multiline match
  • x: Ignore whitespace – requires the entire regular expression including to be placed in double quotes.
  • n: explicit capture

Any unknown option, invalid regex, or duplicate option will make EditVoicepack disable regular expression mode and search for it as a literal term – unfortunately without any indication this happens.

Field name search:

Normally EditVoicepack will search in all data fields. For the search you use when finding usable sound segments there are two fields: Identifier and Phrase. You can specify a search term should only search in a single field by prefixing the search term with the (case sensitive) field name, then a : (colon). For example Phrase:distance.

Multiple field names can be included by making them comma separated, but you will obviously not need that when searching for segments as there only are two fields to begin with.

Everything listed above can be combined, with the exception of:

  • Exclude and Force include
  • Phonetic search and Regular expression