>Are you sure about that assumption? I seem to recall using regular expressions in Unix in text editing, and I'm sure that 'beginning of line' meant exactly that, and not 'beginning of text'. On the other hand, I do have to admit that by now I've pretty much forgotten just about everything I ever knew about Unix.
Not quite sure, but I thought that was the way regular expressions would usually be used.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)