@clean @api @wildcard Feature: Searches that contain wildcard matches Scenario Outline: Wildcards match plain matches When I api search for piles Then Two Words is the first api search result Examples: | wildcard | | * | | \\?k | | c\\? | Scenario Outline: Wildcards don't match stemmed matches When I api search for pikle Then there are no api search results Examples: | wildcard | | * | | \\?k | Scenario Outline: Wildcards in leading intitle: terms match When I api search for intitle:functiona intitle:programming Then Functional programming is the first api search result Examples: | wildcard | | * | | \\? | Scenario Outline: Wildcard suffixes in trailing intitle: terms match stemmed matches When I api search for intitle:functional intitle:programmin Then Functional programming is the first api search result Examples: | wildcard | | * | | \\? | Scenario Outline: Wildcards within trailing intitle: terms match stemmed matches When I api search for intitle:functional intitle:progamming Then Functional programming is the first api search result Examples: | wildcard | | * | | \\? | Scenario Outline: Searching with a single wildcard finds expected results When I api search for catapu Then Catapult is in the api search results Examples: | wildcard | | * | | \\?t | | l\\? | Scenario: Searching with a complex wildcard query fails When I api search for d*e*a*d*l*y*w*i*l*d*c*a*r*d*d*e*a*d*l*y*w*i*l*d*c*a*r*d*d*e*a*d*l*y*w*i*l*d*c*a*r*d*d*e*a*d*w*i*l*d*c*a*r*d* Then this error is reported by api: Regular expression is too complex. Learn more about simplifying it [[mw:Special:MyLanguage/Help:CirrusSearch/RegexTooComplex|here]].