@sasjs/core 4.18.16 → 4.18.17

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.
@@ -199,11 +199,7 @@
199
199
  format _numeric_ bart.;
200
200
  %do i=1 %to &numcols;
201
201
  %if &&typelong&i=char or &fmt=Y %then %do;
202
- if prxmatch(
203
- 'm/\"|\x0A|\x0D|\x09|\x00|\x0E|\x0F|\x01|\x02|\x10|\x11|\\/o',
204
- &&name&i
205
- )>0
206
- then do;
202
+ if findc(&&name&i,'"\'!!'0A0D09000E0F01021011'x) then do;
207
203
  &&name&i='"'!!trim(
208
204
  prxchange('s/"/\\"/',-1, /* double quote */
209
205
  prxchange('s/\x0A/\n/',-1, /* new line */
@@ -232,11 +232,7 @@ data _null_;
232
232
  put ' format _numeric_ bart.; ';
233
233
  put ' %do i=1 %to &numcols; ';
234
234
  put ' %if &&typelong&i=char or &fmt=Y %then %do; ';
235
- put ' if prxmatch( ';
236
- put ' ''m/\"|\x0A|\x0D|\x09|\x00|\x0E|\x0F|\x01|\x02|\x10|\x11|\\/o'', ';
237
- put ' &&name&i ';
238
- put ' )>0 ';
239
- put ' then do; ';
235
+ put ' if findc(&&name&i,''"\''!!''0A0D09000E0F01021011''x) then do; ';
240
236
  put ' &&name&i=''"''!!trim( ';
241
237
  put ' prxchange(''s/"/\\"/'',-1, /* double quote */ ';
242
238
  put ' prxchange(''s/\x0A/\n/'',-1, /* new line */ ';
package/package.json CHANGED
@@ -35,5 +35,5 @@
35
35
  "devDependencies": {
36
36
  "@sasjs/cli": "3.13.0"
37
37
  },
38
- "version": "4.18.16"
38
+ "version": "4.18.17"
39
39
  }
@@ -376,11 +376,7 @@ data _null_;
376
376
  put ' format _numeric_ bart.; ';
377
377
  put ' %do i=1 %to &numcols; ';
378
378
  put ' %if &&typelong&i=char or &fmt=Y %then %do; ';
379
- put ' if prxmatch( ';
380
- put ' ''m/\"|\x0A|\x0D|\x09|\x00|\x0E|\x0F|\x01|\x02|\x10|\x11|\\/o'', ';
381
- put ' &&name&i ';
382
- put ' )>0 ';
383
- put ' then do; ';
379
+ put ' if findc(&&name&i,''"\''!!''0A0D09000E0F01021011''x) then do; ';
384
380
  put ' &&name&i=''"''!!trim( ';
385
381
  put ' prxchange(''s/"/\\"/'',-1, /* double quote */ ';
386
382
  put ' prxchange(''s/\x0A/\n/'',-1, /* new line */ ';