looking for completion of pattern before entering

Disclaimer