Regular Expressions 101

Community Patterns

0

unit_no_extraction

Python
CREMATRIX
Submitted by anonymous - 4 years ago
0

timestamp

Python
no description available
Submitted by anonymous - 4 years ago
0

parse sqs url

Python
no description available
Submitted by anonymous - 4 years ago

java判断整体多项式的合法性

1

Regular Expression
ECMAScript (JavaScript)

/
(([ ]*[-+]?[ ]*([ ]*([+-]?[ ]*(([1-9]([ ]*[0-9]*)*)[ ]*(\*[ ]*x[ ]*(\^[ ]*([-+]?[1-9][0-9]*))?)?)|([ ]*[-+]?[ ]*x[ ]*(\^[ ]*([-+]?[1-9][0-9]*))?)[ ]*))([ ]*[+-][ ]*([ ]*([+-]?[ ]*(([1-9]([ ]*[0-9]*)*)[ ]*(\*[ ]*x[ ]*(\^[ ]*([-+]?[1-9][0-9]*))?)?)|([ ]*[-+]?[ ]*x[ ]*(\^[ ]*([-+]?[1-9][0-9]*))?)[ ]*))[ ]*)+[ ]*)+)|([ ]*[-+]?[ ]*([ ]*([+-]?[ ]*(([1-9]([ ]*[0-9]*)*)[ ]*(\*[ ]*x[ ]*(\^[ ]*([-+]?[1-9][0-9]*))?)?)|([ ]*[-+]?[ ]*x[ ]*(\^[ ]*([-+]?[1-9][0-9]*))?)[ ]*))[ ]*)
/
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago