question: public static SearchPattern createOrPattern ( SearchPattern leftPattern , SearchPattern rightPattern ) { return new OrPattern ( leftPattern , rightPattern ) ; }
target:  Returns a search pattern that combines the given two patterns into an "or" pattern. The search result will match either the left pattern or the right pattern.