adding os_regex Match2 unit test
added more unittests from os_regex/example
cleaning up the code and formatting with astyle
make test will make all libs so they can start to be tested.
add NULL terminated arrays as pointed out by @cgzones
Merge pull request #139 from jrossi/unittest-os_regex

Unittest os regex
Merge remote-tracking branch 'upstream/master'