Revert "[BUGFIX] Use RecursiveRegexIterator with recursive regex"

This reverts commit 57e92507e965c21abe2f786a962e9ccf918681ce.
remove `[^\.]` rule from regex