regexp tag

2 questions


1 answers
27 views
0
Python regular expression questions

pa = re.compile((?P<A>\w+)(?):\[(?P<B>\d+):(?P<C>\d+)\]|[(?P<D>\d+)])I want to know the meaning of the regular expression above.I understood the two (?P<A>\w+) and (?P<...

2 years ago

1 answers
22 views
0
[javascript] Regular Expression Question

Hello. The code below is when you enter your cell phone numberXXX-XXXX-XXXX, a code that verifies that the number and the number can be connected through -, /, and\.var re = /(?:\d{3}|\(\d{3}\))([-\/\...

2 years ago

© 2024 OneMinuteCode. All rights reserved.