If you expect your regular expression's pattern-matching methods to be called an indeterminate number of times — anywhere from once or twice to thousands or tens of perl example #10 more on pattern matching and regular expressions about the program this program demonstrates additional examples of pattern matching and substitution to compile or match a given regular expression the posix way, you must supply a pattern buffer exactly the way you do for gnu see section gnu pattern buffers
If you expect your regular expression's pattern-matching methods to be called an indeterminate number of times — anywhere from once or twice to thousands or tens of perl example #10 more on pattern matching and regular expressions about the program this program demonstrates additional examples of pattern matching and substitution to compile or match a given regular expression the posix way, you must supply a pattern buffer exactly the way you do for gnu see section gnu pattern buffers