Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8241641

Support Glob expressions in java.util.regex.Pattern

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      The support for Globs in java.nio.file.PathMatcher is nice, but there are cases where a Glob pattern would be necessary and not depend on the default underlying FileSystem.

      For example, matching host names against a list of non-proxy hosts.

      The JDK offers the sun.nio.fs.Globs to convert a Glob expression into a Regex that can be compiled to a java.util.regex.Pattern. It would be great if that functionality were public (as a new method in java.util.regex.Pattern or a new java.util.regex.Globs class based on the JDK class)


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: