Skip to content

Commit

Permalink
Glob_Patterns.rst: Remove redundant examples
Browse files Browse the repository at this point in the history
It removes some unnecessary examples.

Closes #70
  • Loading branch information
aptrishu committed Oct 19, 2016
1 parent 5022af6 commit 8b7b14e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Users/Glob_Patterns.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ brackets have to be placed at the first position.
True
>>> fnmatch("a!a", "a[!]a")
False
>>> fnmatch("aa", "a[!]a")
False
>>> fnmatch("a[!]a", "a[!]a")
True

Expand All @@ -123,14 +121,10 @@ brackets. Parentheses that have no match are ignored as well as
False
>>> fnmatch("aXb", "(a(X|Y)b|c)")
True
>>> fnmatch("c", "(a(X|Y)b|c)")
True
>>> fnmatch("a", "a|b")
False
>>> fnmatch("a|b", "a|b")
True
>>> fnmatch("(a|b", "(a|b")
True
>>> fnmatch("(aa", "(a(a|b)")
True
>>> fnmatch("a(a", "(a(a|b)")
Expand Down Expand Up @@ -180,8 +174,6 @@ brackets. Parentheses that have no match are ignored as well as
True
>>> fnmatch("a/c", "a*c")
False
>>> fnmatch("a?c", "a*c")
True
>>> fnmatch("ac", "a*c")
True

Expand All @@ -192,13 +184,7 @@ brackets. Parentheses that have no match are ignored as well as

::

>>> fnmatch("abc", "a**c")
True
>>> fnmatch("abbc", "a**c")
True
>>> fnmatch("a/c", "a**c")
True
>>> fnmatch("a?c", "a**c")
True
>>> fnmatch("ac", "a**c")
True

0 comments on commit 8b7b14e

Please sign in to comment.