Quantcast
Channel: OpenPlant | AutoPLANT Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4153

A regular expression question

$
0
0

Hello All,

I have a question about regular expression. For example:

ECExpression: this.SERVICE_NAME & "-" & this.UNIT_NAME & “-” & this.SPECIFICATION & “-” & this.NUMBER

Regular expression: ^[?\w]*-[?\w]*-(?<SPECIFICATION>[?\w]*)-(?<NUMBER>.*)|(?<NUMBER>.*)

I don't understand the last part (?<NUMBER>.*)|(?<NUMBER>.*) The last part is NUMBER or NUMBER? Can anyone explain to me? Thanks a lot!


Viewing all articles
Browse latest Browse all 4153

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>