test the other regular expressions.
constructing the ranking of RE