from_pattern regex improvement for simple selects #12