Register regexp testing function in yaql context for dynamic UI.

Change-Id: I9e131fdd01fd4edbed269d911dce28354a4edb4e
Fixes: MRN-882.