config/src/main/java/org/springframework/security/config/annotation/web/AbstractRequestMatcherRegistry.java
public C regexMatchers(HttpMethod method, String... regexPatterns) {
		Assert.state(!this.anyRequestConfigured, "Can't configure regexMatchers after anyRequest");
		return chainRequestMatchers(RequestMatchers.regexMatchers(method, regexPatterns));
	}
public C regexMatchers(HttpMethod method, String... regexPatterns) {
		Assert.state(!this.anyRequestConfigured, "Can't configure regexMatchers after anyRequest");
		return chainRequestMatchers(RequestMatchers.regexMatchers(method, regexPatterns));
	}
Maps a {@link List} of
{@link org.springframework.security.web.util.matcher.RegexRequestMatcher}
instances.

@param method the {@link HttpMethod} to use or {@code null} for any
{@link HttpMethod}.
@param regexPatterns the regular expressions to create
{@link org.springframework.security.web.util.matcher.RegexRequestMatcher} from

@return the object that is chained after creating the {@link RequestMatcher}