Question

List at least three differences between wildcard metacharacters and regular expressions.

List at least three differences between wildcard metacharacters and regular expressions.

Homework Answers

Answer #1

1.   Wildcard metacharacters are there to be used by the linux shell, whereas regular expressions are mostly used by a text tool like we use even when programming with python or any other language to find the patterns.

2. Including grep, wildcard are applied to all commands and are used in combination of operands while Regular expressions are applied to grep and only few other unix commands.

3. We have more number of regular expression metacharacters than wildcard metacharacters.

4. Wildcard metacharacters have different definitions than regular expression metacharacters

5. Regular expressions are relatively simple computer languages .

For example: find , shell used some filename matching patterns but are not regular expression.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
List three key anatomical differences between the sympathetic and parasympathetic divisions.List three key anatomical differences between...
List three key anatomical differences between the sympathetic and parasympathetic divisions.List three key anatomical differences between the sympathetic and parasympathetic divisions.
List three differences between allopathy and alternative medicines.
List three differences between allopathy and alternative medicines.
What are the major differences between the groundwater transport of organic chemicals and particles? List at...
What are the major differences between the groundwater transport of organic chemicals and particles? List at least three differences.
List at least 3 differences between closed-form and finite-element solutions of structural problems.
List at least 3 differences between closed-form and finite-element solutions of structural problems.
List and discuss three significant differences between IFRS and U.S. GAAP standards.
List and discuss three significant differences between IFRS and U.S. GAAP standards.
RegEx (Regular Expressions) 1. Make 2 regular expressions to filter a specific data set in Java...
RegEx (Regular Expressions) 1. Make 2 regular expressions to filter a specific data set in Java and explain what they do. 2. In addition to the each regular expression, provide two test cases that will pass the input and one that will fail.
a) Name three differences between vectors and linked list? b) Given a doubly linked list with...
a) Name three differences between vectors and linked list? b) Given a doubly linked list with five nodes, explain how can you remove the node in the middle and replace it with new node?
linux regular expressions: file name: lab3test.txt Create regular expressions that meet the following criteria. You may...
linux regular expressions: file name: lab3test.txt Create regular expressions that meet the following criteria. You may use grep or egrep to answer these questions 1.Match only the lines that contain an employee ID (and nothing else) with the format 12345.
List three differences between the T cell receptor and the B cell receptor (for example, think...
List three differences between the T cell receptor and the B cell receptor (for example, think structure and antigen recognition). Name three toll-like receptor ligands.
Problem 5 Regular Expressions. a) Define a regular expression for all strings of odd length, over...
Problem 5 Regular Expressions. a) Define a regular expression for all strings of odd length, over the alphabet of {0}. b) Define a regular expression for identifiers over the alphabet of {A,B,C,a,b,c,0,1,2,3,4,5,6,7,8,9}, such that an identifier must begin with an alphabetic character and must contain at least one numeric character. c) Try to modify the definition above so that identifiers still begin with an alphabetic character, but after that, it must contain at least one numeric, at least one lower-case...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT