I'm trying to match something like
foo: anything after the colon can be matched with (.*)+
foo.bar1.BAZ: balh5317{}({}(
This is the regex that I use:
/^((?:(?:(?:[A-Za-z_]+)(?:[0-9]+)?)+[\.]?)+)(?:\s)?(?:\:)(?:\s)?((?:.*)+)$/
Sorry inconsistent groups and extra parsers, this compiles from the builder class
This works on examples. The problem occurs when I try to insert a line like this:
foo.bar.baz.beef.stew.ect.and.forward
I need to be able to check strings like this, but the regex engine expires or works endlessly (as far as I can tell) after a certain amount foo.each time.
I am sure that this is a logical problem that I could figure out, but unfortunately I did not master the regular expression, and I was hoping that a more experienced user could shed some light on how I can make this more efficient.
, , :
Property Name: can contain A-z, numbers, and underscores but can't start with a number
<Property Name>.<Property Name>.<Prop...:<Anything after the colon>
!