Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In regular expressions, what is the difference between square brackets "[]" vs round brackets "()"?
Answer
Square brackets means one of serveral charactors (e.g. [a-e]) whereas round brackets means one of serveral words (e.g. (the|this) )

Question
In regular expressions, what is the difference between square brackets "[]" vs round brackets "()"?
Answer
?

Question
In regular expressions, what is the difference between square brackets "[]" vs round brackets "()"?
Answer
Square brackets means one of serveral charactors (e.g. [a-e]) whereas round brackets means one of serveral words (e.g. (the|this) )
If you want to change selection, open document below and click on "Move attachment"

5. Regular Expressions
e is any character from a through m . grep -w 'kr.*n' Matches the words kremlin and krypton , because the . matches any character and the * means to match the dot any number of times. egrep -w '<span>(th|sh).*rt' Matches the words shirt , short , and thwart . The | means to match either the th or the sh . egrep is just like grep but supports extended regular expressions that allow for the |

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.