Completed regex.js
Recursion completed.