AWK Medium · Lesson 6

Dynamic regexes, IGNORECASE and regexp constants

Match against regexes built from strings, escape user text before using it as a pattern, match case-blind, and store regexps in variables.

Lessons · AWK Medium · Lesson 6 of 10

Dynamic regexes, IGNORECASE and regexp constants

Match against regexes built from strings, escape user text before using it as a pattern, match case-blind, and store regexps in variables.

Illustration for AWK
Match against regexes built from strings, escape user text before using it as a pattern, match case-blind, and store regexps in variables.