Your customer has asked that all incidents be “scanned” for words that may revolve around product defects and injures so that they can alert their risk management team of any possible product issues or liability. The customer accepts that 100% accuracy is not available, and accepts that they will be false positives and a margin for error. They have provided you he following words to be “scanned”:
- Mouth, Jaw, Cheek, Jowl, Chin, Oral, Palate
The customer requires the following:
- Match whole words only
- All valid words must be preceded with a space.
- All valid words must be spelled correctly.
- All words must be directly followed by a meta character ( , . ' " ; : {space} ! ? & ) not including the parenthesis
You decide to use a regular expression to search for these words in all incoming emails.
^mouth [ , | . | ’ | ” | ; | : | | ! | ? | & ] | \ jaw [| , | . | ‘ | “ | : | ! | &] | \ cheek [ , | ‘ | ; | : || ! | ? | &] | \ jowl [ , | . | ‘ | ; | | !| ? | &] | \ chin$ [ , | . | ‘ | “ | ; | | ! | ? | & ] | \ oral [ , | . | ‘ | “ | : | | ? | & ] | \ pallate [ , | . | ‘ | “ | : | | ! | ? | &] | \
Identify the three words that will be correctly matched to this regular expression.
Selecione uma ou mais das seguintes: