Adds BBUS_ARRAY_SIZE macro.
Add a function for regular expression matching.