title: Spring Reactive Router Path - Wildcard with exclusion
body: <p>I have a Spring Reactive app which serves up a single page React app.</p>
  
  <p>To serve the React pages, I have a wildcard path of <code>/**</code>. This largely works, except for one case.</p>
  
  <p>The non-React endpoints I want my Spring app to handle are all prefixed with <code>/api</code>.</p>
  
  <p>Right now, if I call an <code>/api</code> endpoint that doesn't exist, it gets handled by the React endpoint (<code>/**</code>) and so it serves up the <code>index.html</code> for React and a 200 instead of a 404 like I want.</p>
  
  <p>According to the documentation, it looks like Spring Reactive Router supports glob patterns, but I tried the pattern <code>/!(api)/**</code> which seems like it should work according to glob testers. However, this causes all calls that should have gone to that endpoint to 404.</p>
  
  <p>Any ideas on a wildcard pattern to catch everything except endpoints that start with <code>/api</code>?</p>