Added TODO for using 'g' flag to search entire string