<p dir="ltr">Hello devs,</p>
<p dir="ltr">I would like to take up the bite sized project on adding a match command to omega script to perform a regex match.<br>
I would just like to know whether the way I am approaching this is right or wrong.</p>
<p dir="ltr">The way I am planning to approach it is:</p>
<p dir="ltr">1. Add a new command in query.cc and write the implementation for this command<br>
2. Inside implementation, we will use pcre library in a similar way to the $tranform function and take two arguments, the regex and the string to perform a match on. <br>
3. Then using pcre library, we check for a regex match using pcre_exec( ) and if the value it returns is lesser than or equal to zero, return true or else return false.</p>
<p dir="ltr">Do let me know if I'm going wrong out here.<br>
Thanks :)<br>
</p>