Revert "Revert "Added helper method for matching left words""

This reverts commit 510ce3f5c7a7dfd237c4c304a8ebced4739d2616.