hey, one of my validates_format_of statements, I have a regEx to verify
a website address is valid, not pinging the server or anything, just
simply so the web address is proper format.
anyways, im curious to know if there is a way to avoid having the regEx
accidently comment out the rest of the file… keep in mind the file
still works properly, just the code highlighting is ugly after the
regEx is typed up.
Yeah… im using dreamweaver8 code view… get over it…
if anyone knows how to do that, it would be cool, not a serious issue
though, just something I would rather have look nice.
hey, one of my validates_format_of statements, I have a regEx to verify
a website address is valid, not pinging the server or anything, just
simply so the web address is proper format.
anyways, im curious to know if there is a way to avoid having the regEx
accidently comment out the rest of the file… keep in mind the file
still works properly, just the code highlighting is ugly after the
regEx is typed up.
Yeah… im using dreamweaver8 code view… get over it…
if anyone knows how to do that, it would be cool, not a serious issue
though, just something I would rather have look nice.
thanks!
a ruby comment begins with # and only lasts one line. And it should be
ignored in a Regex anyway. There is no “ruby” way to do this since it’s
entirely your IDE’s fault.
Write Macromedia and ask for proper ruby support, or use one of the many
free editors out there.
hey, one of my validates_format_of statements, I have a regEx to verify
a website address is valid, not pinging the server or anything, just
simply so the web address is proper format.
anyways, im curious to know if there is a way to avoid having the regEx
accidently comment out the rest of the file… keep in mind the file
still works properly, just the code highlighting is ugly after the
regEx is typed up.
You could use the %r{} constructor for regex - it might not tickle the
same bug. See RDoc Documentation.
Yeah… im using dreamweaver8 code view… get over it…