Quantcast
Channel: OpenPlant | AutoPLANT
Viewing all articles
Browse latest Browse all 12277

Forum Post: Class Editor Parser regular express explanation

$
0
0
Hello All, I'd understand to know class editor parser regular express, for example, for support name, ^(? .*)-(? .*)|(? .*) It means if input PS-101 in name, it will fill PS in device_type_code, and 101 in number. But I don't understand why |(? .*) ? My case here is, the support name maybe 3 parts or 4 parts, for example, PS1-AAA-bb or PS1-AAA-BB-C. No problem for the first three attributes, for the fourth part "C", if it exist, fill in another attribute, if it does not exist, just fill the first three attributes. Is it possible?

Viewing all articles
Browse latest Browse all 12277

Trending Articles



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