Skip to content

Commit 63736f1

Browse files
committed
Patterns: regex
1 parent f6e0581 commit 63736f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/patterns.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ Wild cards are also called "glob" or "globbing" patterns.
148148
??? Globs
149149

150150
Globs, also known as glob (or globbing) patterns (<a href="https://en.wikipedia.org/wiki/Glob_(programming)">Wikipedia: Glob</a>) are patterns
151-
that can expand a wildcard pattern into a list of pathnames that match the given pattern. On the early versions of Linux, the command
152-
interpreters relied on a program that expanded these characters into unquoted arguments to a command: ``/etc/glob``.
151+
that can expand a wildcard pattern into a list of pathnames that match the given pattern. On the early versions of Linux, the command: ``/etc/glob``
152+
was in charge of expanding the wildcard pattern.
153153

154154

155155
Due to their convenience, the concept of wild cards are commonly used in programming languages, however the symbols may vary between languages. Here is a list
@@ -265,6 +265,6 @@ Some common examples of regular expressions:
265265
!!! note "Keypoints"
266266

267267
- Finding files with specific patterns in their names or content can be done with ``grep`` and ``find``
268-
- Wildcards are metacharacters for one or more character or number and are useful for when you are finding patterns or removing/copying/listing all files of a certain type
269-
- Regular Expressions are a type of patterns that are used when you are working with text. They can be used with ``grep``, ``find``, and many many others
268+
- Wildcards are metacharacters for one or more character or number and are useful when you are finding patterns or removing/copying/listing all files of a certain type
269+
- Regular Expressions are a type of patterns that are used when you are working with text. They can be used with ``grep``, ``find``, and other programs
270270

0 commit comments

Comments
 (0)