记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
c0aad80b
Commit
c0aad80b
authored
Jul 09, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
3b0b8c01
6e764dec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
LnsRegex.java
...in/java/com/liquidnet/commons/lang/constant/LnsRegex.java
+6
-6
No files found.
liquidnet-bus-common/liquidnet-common-base/src/main/java/com/liquidnet/commons/lang/constant/LnsRegex.java
View file @
c0aad80b
...
@@ -34,35 +34,35 @@ public class LnsRegex {
...
@@ -34,35 +34,35 @@ public class LnsRegex {
/**
/**
* 大陆居民身份证
* 大陆居民身份证
*/
*/
public
static
final
String
CN_ID_CARD_REF
=
"
/(^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$)|(^[1-9]\\d{5}\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}$)/
"
;
public
static
final
String
CN_ID_CARD_REF
=
"
(^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$)|(^[1-9]\\d{5}\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}$)
"
;
/**
/**
* 军官证
* 军官证
* 规则: 军/兵/士/文/职/广/(其他中文) + "字第" + 4到8位字母或数字 + "号"
* 规则: 军/兵/士/文/职/广/(其他中文) + "字第" + 4到8位字母或数字 + "号"
* 样本: 军字第2001988号, 士字第P011816X号
* 样本: 军字第2001988号, 士字第P011816X号
*/
*/
public
static
final
String
CN_ID_CARD_MO
=
"
/^[\\x{4E00}-\\x{9FA5}](字第)([0-9a-zA-Z]{4,8})(号?)$/u
"
;
public
static
final
String
CN_ID_CARD_MO
=
"
^[\\x{4E00}-\\x{9FA5}](字第)([0-9a-zA-Z]{4,8})(号?)$
"
;
/**
/**
* 中国大陆护照
* 中国大陆护照
* 规则: 14/15开头 + 7位数字, P + 7位数字, G/E + 8位数字, S/D + 7或8位数字, 等
* 规则: 14/15开头 + 7位数字, P + 7位数字, G/E + 8位数字, S/D + 7或8位数字, 等
* 样本: 141234567, G12345678, P1234567
* 样本: 141234567, G12345678, P1234567
*/
*/
public
static
final
String
CN_ID_CARD_PP
=
"
/^(?:P\\d{7}|[GE]\\d{8}|[SD]\\d{7,8}|[PSD]E\\d{7}|1[45]\\d{7})$/
"
;
public
static
final
String
CN_ID_CARD_PP
=
"
^(?:P\\d{7}|[GE]\\d{8}|[SD]\\d{7,8}|[PSD]E\\d{7}|1[45]\\d{7})$
"
;
/**
/**
* 非中国大陆护照
* 非中国大陆护照
*/
*/
public
static
final
String
CN_ID_CARD_PP_NON
=
"
/^([A-Z0-9]){5,17}$/
"
;
public
static
final
String
CN_ID_CARD_PP_NON
=
"
^([A-Z0-9]){5,17}$
"
;
/**
/**
* 港澳居民来往内地通行证
* 港澳居民来往内地通行证
* 规则: H/M + 8位数字, C + 8位数字, C + 1位字母除去IO + 7位数字
* 规则: H/M + 8位数字, C + 8位数字, C + 1位字母除去IO + 7位数字
* 样本: H12345678
* 样本: H12345678
*/
*/
public
static
final
String
CN_ID_CARD_HM
=
"
/^(?:[HM]\\d{8}|C[A-HJ-NP-Z0-9]\\d{7})$/
"
;
public
static
final
String
CN_ID_CARD_HM
=
"
^(?:[HM]\\d{8}|C[A-HJ-NP-Z0-9]\\d{7})$
"
;
/**
/**
* 台湾居民来往大陆通行证
* 台湾居民来往大陆通行证
* 规则: 8位数字, 18位数字, 10位数字 + 1位英文字母
* 规则: 8位数字, 18位数字, 10位数字 + 1位英文字母
* 样本: 12345678 1234567890B
* 样本: 12345678 1234567890B
*/
*/
public
static
final
String
CN_ID_CARD_TW
=
"
/^(?:\\d{8}|\\d{18}|\\d{10}[A-Z])$/
"
;
public
static
final
String
CN_ID_CARD_TW
=
"
^(?:\\d{8}|\\d{18}|\\d{10}[A-Z])$
"
;
/* ======================================================================= | 第三方平台类 */
/* ======================================================================= | 第三方平台类 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment