Learn Java Programming - Regex String Literals Tutorial

preview_player
Показать описание
In this tutorial I will discuss how string literals are the most simplistic form of pattern matching. The tutorial builds on concepts learned from my Introduction To Regex - Regular Expressions tutorial.
...
Three of the examples above have patterns that are metacharacters, metacharacters are special characters that affect the outcome of a matching pattern. My next tutorial will teach you what characters are metacharacters and how to use the special characters as part of a regular string literal search.
Рекомендации по теме
Комментарии
Автор

Hey, you have a really cool website. I'm mastering regex there. Thanks man!

aseemsavio
Автор

Hi Daniel, thanks for the great tutorials, passed my OCA and really liking your videos for the OCP.

Just thought I'd let you know that I think your 'character classes 2' tutorial page has the wrong video on it (character classes 1).

Thanks again though, and really liking the design of the site - wish I had the ability to make something that slick!

nickwoodward
Автор

Hi mr Daniel. I have a question. U know how in your code
Matcher m =p.matcher(searchMe), shouldnt it be
Matcher m = new Matcher(); where the new keyword should be after the equals sign. Thanks

anonymous-dobs