Waiting for Singularity

Thoughts on science, tech and other preoccupations

Regular Expressions Flashcards

A flashcard app to test your knowledge of regular expressions.

Question pool based on terminologies from Ruby QuickRef from ZenSpider.com

Outputs:

    *** Test your knowledge of Regular Expressions***
    Based on Ruby QuickRef from ZenSpider.com

    Q: non-word boundary
    A: \B
    Correct
    Do you want to continue? (Y/N):y

    Q: 0 or more previous regular expression (non-greedy)
    A: .
    Incorrect. The answer is: *?
    Do you want to continue? (Y/N):

    Q: 0 or more previous regular expression
    A: *
    Correct
    Do you want to continue? (Y/N):n