Learning Regular Expressions in Julia

raman_kumar
Tue, 18 Jul 2023 16:56:35 +0000
Teaching & Outreach

I found it difficult to learn Regular Expressions in Julia.

I couldn’t understand what those different symbols in r"^\s*(?:#|$)" stands for ? Regular Expressions documentation is not detailed enough for many people to understand.

Can you suggest some lucid references to understand Regular Expressions in Julia ?

en.wikipedia.org

Regular expression

A regular expression (shortened as regex or regexp; sometimes referred to as rational expression) is a sequence of characters that specifies a match pattern in text. Usually such patterns are used by string-searching algorithms for "find" or "find and replace" operations on strings, or for input validation. Regular expression techniques are developed in theoretical computer science and formal language theory. The concept of regular expressions began in the 1950s, when the American mathematician ...

14 posts - 10 participants