Skip to content

Commit 1dc72ca

Browse files
authored
Issue #201 fix (#366)
separated double asterisk into its own paragraph and added appropriate <notation>, <usage>, <m>, and <description> tags so that the double asterisk appears separately in the index. Fixes issue #201.
2 parents 5d50f7d + 7f5f0eb commit 1dc72ca

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

source/sec_git_basics.ptx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ M lib/simplegit.rb
458458

459459
<!-- div attr= class="paragraph"-->
460460
<p>
461-
Glob patterns are like simplified regular expressions that shells use. An asterisk (<c>*</c>) matches zero or more characters; <c>[abc]</c> matches any character inside the brackets (in this case a, b, or c); a question mark (<c>?</c>) matches a single character; and brackets enclosing characters separated by a hyphen (<c>[0-9]</c>) matches any character between them (in this case 0 through 9). You can also use two asterisks to match nested directories; <c>a/**/z</c> would match <c>a/z</c>, <c>a/b/z</c>, <c>a/b/c/z</c>, and so on.
461+
Glob patterns are like simplified regular expressions that shells use. An asterisk (<c>*</c>) matches zero or more characters; <c>[abc]</c> matches any character inside the brackets (in this case a, b, or c); a question mark (<c>?</c>) matches a single character; and brackets enclosing characters separated by a hyphen (<c>[0-9]</c>) matches any character between them (in this case 0 through 9).
462462
<notation>
463463
<usage><m>[ - ]</m></usage>
464464
<description>brackets - encloses characters</description>
@@ -468,6 +468,13 @@ M lib/simplegit.rb
468468
<description>asterisk - matches zero or more characters</description>
469469
</notation>
470470
</p><!--</div attr= class="paragraph">-->
471+
<p>
472+
You can also use two asterisks to match nested directories; <c>a/**/z</c> would match <c>a/z</c>, <c>a/b/z</c>, <c>a/b/c/z</c>, and so on.
473+
<notation>
474+
<usage><m>**</m></usage>
475+
<description>double asterisk - matches nested directories</description>
476+
</notation>
477+
</p>
471478

472479
<!-- div attr= class="paragraph"-->
473480
<p>

0 commit comments

Comments
 (0)