Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-5549

Fix glob to regex conversion to properly handle **/*.suffix

XMLWordPrintable

      Fixes issue reported in https://github.com/quarkusio/quarkus/discussions/44664#discussioncomment-11369170

      > In the reproducer */.json gets translated to the regex ./[^/]
      .json, which doesn't match test.json because it needs at least one /.
      > ...
      > Now my understanding is that */.json is expected to match all json files (see [here](https://www.digitalocean.com/community/tools/glob?comments=true&glob=%2A%2A%2F%2A.js&matches=false&tests=test.js&tests=%2Ftest.js&tests=path%2Fto%2Ftest.js)), including test.json

              Unassigned Unassigned
              blafond Barry LaFond
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: