I am learning regular expressions and I came across this example as for how not to write them.
/([01]+)+b/
The reason mentioned is that it is very inefficient since it involves a lot of backtracking. Can someone explain why and what would be its efficient version?