For the record,
^.{1,35}\n
matches 1 to 35 characters on a line, followed by a newline - i.e. it would 
not match a line with 36 or more characters. Same for
^.{1,35}$
so this works as long as the line ending is also provided. In contrast,
^.{1,35}
would also match the first 35 characters of a line that is longer than that.

On Monday, October 9, 2017 at 4:39:16 PM UTC+2, Roland Küffner wrote:
>
>
> Unfortunately, regular expressions (as I understand it) can’t match „1 to 
> 35 characters, but only if there are no more than 35 characters on that 
> line“ (that would indeed be a job for sed)
>
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to