Note that [A-Z][A-Z]* is equivalent to [A-Z]+
* means 0 or more
+ means 1 or more
* means 0 or more
+ means 1 or more
So I decided to try this as an intellectual exercise because I took too long a nap today and am now hyper.sketch wrote:
<snip>
${altStreet[#]} prints a list of all alt streets separated by the # character (also arbitrary, like the colon above). I added that stuff in and removed some superfluous parentheses. I'm not sure if this will work, because I'm not very good with negative lookaheads, but it's closer.Code: Select all
${typeRank}:${altStreet[#]} /(10|11):.(?!(Rd(#|$)))*(#|$)/
Re: [Script] WME Validator 1.1.6 / 06.01.2015