Re: PATCH: simplifying regular expressions

2018-12-09 Thread Ben Elliston
On Sun, Dec 09, 2018 at 06:58:28PM -0600, Jacob Bachmeyer wrote: > > A lot of regular expressions in DejaGnu are complex for no good > > reason. This is because the regexps are placed inside quotes ("..") > > wich are processed before being passed to the relevant function (be it > > 'expect', 'reg

Re: PATCH: simplifying regular expressions

2018-12-09 Thread Jacob Bachmeyer
Ben Elliston wrote: A lot of regular expressions in DejaGnu are complex for no good reason. This is because the regexps are placed inside quotes ("..") wich are processed before being passed to the relevant function (be it 'expect', 'regexp', 'regsub', etc). As long as the string is a constant, i