Class GlobToRegex

java.lang.Object
slash.navigation.download.tools.helpers.GlobToRegex

public class GlobToRegex extends Object
Converts a wget-style filename glob into an equivalent regular expression. Examples: *.zip, *-latest.osm.pbf, or a star-slash basename pattern. Used by ScanWebsite to apply source include/exclude patterns through the existing regex-based AnchorFilter.
Author:
Christian Pesch
  • Constructor Details

    • GlobToRegex

      public GlobToRegex()
  • Method Details