hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryanne Dolan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-13016) globStatus javadoc refers to glob pattern as "regular expression"
Date Fri, 12 Jan 2018 15:30:00 GMT
Ryanne Dolan created HDFS-13016:
-----------------------------------

             Summary: globStatus javadoc refers to glob pattern as "regular expression"
                 Key: HDFS-13016
                 URL: https://issues.apache.org/jira/browse/HDFS-13016
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: documentation, hdfs
            Reporter: Ryanne Dolan
            Priority: Trivial


Glob patterns are not regular expressions. Both are well-defined and universally understood
concepts. The term "regular expression" is misapplied here.

The method name "globStatus" indicates that pathPattern should be a glob, but the javadoc
says pathPattern is a regular expression. The documentation goes on to describe the accepted
format of pathPattern and clearly describes globs.

The term "regular expression" should not be associated with pathPattern.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message