RegExp vs indexOf JavaScript: indexOf vs. Match when Searching Strings? RegExp vs indexOf 일반적으로 정규화 검색은 문제가 되지 않지만, indexOf 보다는 느리다. lang/js 2018.01.12