全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2165 8
2022-07-24
悬赏 30 个论坛币 已解决
data test;
a="owjgo我";
re=prxparse("/[\u4e00-\u9fa5]/");
b=prxmatch(re,a);
put b;
run;


最佳答案

whymath 查看完整内容

今天翻书看到,想起你提的这个问题。 ——K. Matthew Windham, Introduction to Regular Expressions in SAS®, P99https://doc.lagout.org/programmation/Regular%20Expressions/Introduction%20to%20Regular%20Expressions%20in%20SAS%20%5bWindham%202014-11-18%5d.pdf
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2022-7-24 11:24:46
今天翻书看到,想起你提的这个问题。
The PRX functions use a modified version of Perl 5.6.1 to perform regular expression compilation and matching. Perl is compiled into a library for use with SAS.
The modified version of Perl [RegEx] does not support the following items:
...
· Unicode pattern matching
...
——K. Matthew Windham, Introduction to Regular Expressions in SAS®, P99https://doc.lagout.org/programmation/Regular%20Expressions/Introduction%20to%20Regular%20Expressions%20in%20SAS%20%5bWindham%202014-11-18%5d.pdf

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2023-2-6 15:54:58
好奇怪,你看到的时间是这样的吗? 1.png
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2023-2-6 16:25:11
whymath 发表于 2023-2-6 15:54
好奇怪,你看到的时间是这样的吗?
是的,估计网站有BUG
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2023-2-21 17:31:52
[\x80-\xff]或者[一-龥]
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2023-2-22 22:33:16
jg.sas 发表于 2023-2-21 17:31
[\x80-\xff]或者[一-龥]
我用这里(https://bbs.pinggu.org/thread-11289025-1-1.html)的数据试了一下,并不总是对的。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群