Introduction to Regular Expressions

preview_player
Показать описание
If you do any kind of system admin on Linux or you are a programmer working with strings then you will likely have to use regular expressions, a way to define search patterns for string matching. Here is my introduction tutorial.

Licensed under Creative Commons: By Attribution 3.0 License

#garyexplains
Рекомендации по теме
Комментарии
Автор

Excellent job Professor Sims! Also, O’Reilly published a book, “Regular Expression Pocket Reference” which I still use because the obtuse matching rules are quite difficult to memorize. I also suggest that programmers Google for common regex solutions rather than reinventing the wheel.

alliejr
Автор

To whom ever start coding its a very very important lecture and its for free! And its a very very good one! Go and practice it. Especially if you want to code compilers, Sometimes its a life saver!

nimrodlevy
Автор

You might have also pointed out that a little bit of theory, that is regular expressions can be implemented as a finite state machine (grep and egrep are commonly defined this way). Another thing to mention is that regular expressions are commonly used in the lexical analysis stage of compilers. This video was more of an introduction to grep than an introduction to the very broad topic of regular expressions.

RobertBartlettBaron
Автор

Good job, Gary. Thanks for the short, sweet intro. to searching text with regular expressions.

adamdmer
Автор

Gary, I've been a e\grep user for years and you showed me a few tricks I did not know. Thanks!

BernieD
Автор

This is REGEX 101... thanks for making this video...

marketqueue
Автор

I use this a lot for grep log files and sed some configuration files, really helped a lot in learning regex deeper

RanggaWiratno
Автор

Great Explanation Professor, sending my greeting from San Francisco California.

mohamedsalman
Автор

One handy script I have, called filesrx, allows the use of python's regular expressions in batch renames. Basically 'filesrx <regex> <replacement> [...files]'.

Chalisque
Автор

This is probably the only thing that I already knew and already using it in development

FaizanAnwerAli
Автор

Thank you sir ! For making video on this topic

randomgyandu
Автор

Grate stuff! Don't know what I grep so I found those useful videos. Thank you.

ganymedeshortride
Автор

Like the chest sheet mentioned at the end.

sendgl
Автор

Very well explained. Thank you for the video.

frederik
Автор

Learning quantitative vs qualitative for matching helps. To do more than just finding the pattern within a line, as much as I love python, I find perl best for quickly doing some pretty complex things with minimal coding.

jkinder
Автор

*Awesome video Garry! Keep up the good work* :)
_Like to show your love_

theJesai
Автор

Eventually I watched it (coding is not for me). Thanks for the lesson and what a nice background Gary!

filippoc.
Автор

*GARY!!!*
*Good Morning Professor!*
*Good Morning Fellow Classmates!*

MarkKeller
Автор

Regex is one of those basic stuff you need to know to be a developer. Sadly not everyone knows it.

Xi_Pooh_Shill
Автор

Awesome tips sir. Very clear explanation thank you for the videos

nelta