Refactored rails3 file format regex patterns

Removed BOL/space from patterns in favor of \b (word boundary) to match
lines modified by some alternative loggers.