RE: defining a new line seperator

2001-07-04 Thread mark crowe (JIC)
You might also want to think about setting $/ = "" rather than $/ = "\n\n". Using "" will define the line separator as one *or more* blank lines, while "\n\n" will match only a single one (so for example if there are three consecutive \n's the third will be assigned to the next paragraph). See per

Re: defining a new line seperator

2001-07-03 Thread Pozsar Balazs
$/ is the var for this, so you should say: $/="\n\n"; have a nice day. On Tue, 3 Jul 2001 [EMAIL PROTECTED] wrote: > i'd like to define a new line separator as a simple blank line. i have > tried \n\n and even tried ^$ in the way of a regex, but to no avail. is > there a metacharacter specif

defining a new line seperator

2001-07-03 Thread charles
i'd like to define a new line separator as a simple blank line. i have tried \n\n and even tried ^$ in the way of a regex, but to no avail. is there a metacharacter specific to this? -cjm