@iebh/polyglot 4.9.6 → 4.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -141,6 +141,10 @@ var parse = function parse(query, options) {
141
141
  if (match = /(\$[1-9])\b/i.exec(q)) {
142
142
  q = q.replace(/([^ \t])(\$[1-9])\b/g, '$1 $2');
143
143
  }
144
+ // if (match = /\bOR\b/i.exec(q)){
145
+ // q= q.replace(/(?<!^)(\w)(?=OR\b)/g, '$1 ');
146
+ // }
147
+
144
148
  if (match = /^(\$1)\b/i.exec(q)) {
145
149
  // $1
146
150
  branch.nodes.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iebh/polyglot",
3
- "version": "4.9.6",
3
+ "version": "4.9.8",
4
4
  "description": "IEBH-SRA tool to convert between different medical database search formats",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {