Update indexer.js

non-capturing group