@datagrok/bio 2.1.7 → 2.1.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.
package/detectors.js CHANGED
@@ -207,7 +207,7 @@ class BioPackageDetectors extends DG.Package {
207
207
  // !!! What is the difference between the gap symbol and separator symbol in stats terms?
208
208
  // const noSeparatorRe = /[a-z\d]+$/i;
209
209
  const noSeparatorChemRe = /[HBCNOFPSKVYI]/i; // Mendeleev's periodic table single char elements
210
- const noSeparatorAlphaDigitRe = /[\dA-Z,& _]/i; // ..., comma, ampersand, space, underscore
210
+ const noSeparatorAlphaDigitRe = /[\dA-Z,& _\r\n]/i; // ..., comma, ampersand, space, underscore, CR, LF
211
211
  const noSeparatorBracketsRe = /[\[\]()<>{}]/i;
212
212
  const cleanFreq = Object.assign({}, ...Object.entries(freq)
213
213
  .filter(([m, f]) =>