Skip to content

Commit

Permalink
[csv-to-docs] Add optional GET to matchers
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Jan 26, 2018
1 parent 1ae95b0 commit 278f6cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fn/csv-to-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const warn = require('../lib/log').warn;
const pretty = o => JSON.stringify(o, null, 2);

const RESERVED_COL_NAMES = [ 'type', 'form' ];
const REF_MATCHER = /^((\w+) OF )?(\w+) WHERE (.*)$/;
const REF_MATCHER = /^(?:GET )?((\w+) OF )?(\w+) WHERE (.*)$/i;
const PLACE_TYPES = [ 'clinic', 'district_hospital', 'health_center' ];

require('../lib/polyfill');
Expand Down

0 comments on commit 278f6cd

Please sign in to comment.