Return to Video

Regular Expressions Review - Quiz 1 - Design of Computer Programs

  • 0:00 - 0:06
    And the answer is a search with an up arrow constrains the pattern to match right at the beginning.
  • 0:06 - 0:09
    So that's the same as just doing a match with the rest of the pattern.
  • 0:09 - 0:15
    And the rest of the pattern is just the pattern from position one, onward.
  • 0:15 - 0:19
    Now, if the pattern doesn't start with an up arrow and we're doing a search,
  • 0:19 - 0:23
    that means the search could be anywhere within the text.
  • 0:23 - 0:31
    But that's the same as asking for a pattern that has any number of characters at the beginning,
  • 0:31 - 0:40
    match of any character any number of times, and that's the same as adding a dot star to the start of the pattern.
Tytuł:
Regular Expressions Review - Quiz 1 - Design of Computer Programs
Video Language:
English
Team:
Udacity
Projekt:
CS212 - Design of Computer Programs
Duration:
0:40

English subtitles

Revisions Compare revisions