From: Hunt Jon Date: 2009-09-20T10:39:10+09:00 Subject: Regexp question difference between ^ and \A Hi I'm trying to find good use examples to show a difference between ^ and \A in Ruby regular expressions. \A is for beginning of a string ^ beginning of a line or string As a regular expression runs one line by line (if I'm correct), I think both are the same. I'm a little confused with when to use which. Jon