fix regexp for arrow