4. A computer program product for automatically generating regular expressions for relaxed matching of text patterns, the computer program product comprising: a non-transitory, computer readable storage device; and a computer readable program code stored on the non-transitory, computer readable storage device, said computer readable program code comprising: computer readable program code configured for receiving a first rule specifying a first operator that replaces a search phrase with a replacement regular expression; computer readable program code configured for receiving one or more other rules: computer readable program code configured for receiving an input phrase expressed in a natural language, the input phrase including the search phrase; computer readable program code configured for determining that said input phrase is a plain text pattern rather than a regular expression; computer readable program code configured for, prior to using an output regular expression to search documents for the search phrase and one or more variations of the search phrase, automatically generating an output regular expression, the program code configured for automatically generating the output regular expression including: computer readable program code configured for, based on the input phrase determined to be the plain text pattern rather than the regular expression, automatically tokenizing said plain text pattern; computer readable program code configured for automatically generating a first list of tokens based on the tokenized plain text pattern, the first list of tokens including the search phrase; computer readable program code configured for, based on the first operator specified by the first rule, subsequent to said automatically generating the first list of tokens, subsequent to said receiving the first rule, and subsequent to said receiving said one or more other rules, determining an offset in the first list of tokens, the offset indicating where the search phrase occurs in the first list of tokens; computer readable program code configured for, based on the first operator specified by the first rule, copying one or more tokens that are before the offset in the first list of tokens to a second list of tokens; computer readable program code configured for, based on the first operator specified by the first rule, and subsequent to said copying the one or more tokens that are before the offset to the second list of tokens, appending a token of the replacement regular expression to the second list of tokens; computer readable program code configured for, based on the first operator specified by the first rule, and subsequent to said appending the token of the replacement regular expression to the second list of tokens, appending one or more tokens that are after the search phrase in the first list of tokens to the second list of tokens; and computer readable program code configured for, based on the received first rule and the received one or more other rules, based on the token of the replacement regular expression appended to the second list of tokens, and subsequent to said appending the one or more tokens that are after the search phrase to the second list of tokens, converting the second list of tokens into an output regular expression so that the output regular expression includes the replacement regular expression, the output regular expression being is a representation describing a set of strings including said plain text pattern and one or more variations of said plain text pattern without said output regular expression listing said plain text pattern and each variation of said one or more variations of said plain text pattern, said one or more variations of said plain text pattern having a same meaning as said plain text pattern and including the one or more variations of the search phrase; and computer readable program code configured for, subsequent to said converting the second list of tokens to the output regular expression and subsequent to said automatically generating the output regular expression, using the output regular expression to search the documents for the search phrase and the one or more variations of the search phrase.
5. The program product of claim 4 , wherein said computer readable program code configured for receiving the first rule includes computer readable program code configured for receiving the first rule expressed in an Extensible Markup Language (XML) format, and wherein said computer readable program code configured for receiving the one or more other rules includes computer readable program code configured for receiving the one or more other rules expressed in the XML format.