That solution is overly complicated, try this:
find:
^([0-9]+\.?)
replace:
\1
... where the replace has literal spaces after.
-- Darren Duncan
On 2020-07-30 12:14 p.m., Jim Witte wrote:
find:
^([0-9]+[\.]{0,1})(.*)
replace with:
\1\s\s\s\1
Would that do what you want? I'm not sure whether the «\s» in the replace
string gets converted to a space character though, or if you actually just need
to type spaces there. \1 is a leading number and optional period, and \2 is the
rest of the line.
On Thu, Jul 30, 2020 at 3:09 PM Garrett Taylor <[email protected]
<mailto:[email protected]>> wrote:
Howdy,
I would like to add spaces after line numbers. Is it possible?
--
This is the BBEdit Talk public discussion group. If you have a feature
request or need technical support, please email "[email protected]
<mailto:[email protected]>" rather than posting here. Follow @bbedit on
Twitter: <https://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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/49f6174e-5054-49f4-9726-65163418c001o%40googlegroups.com
<https://groups.google.com/d/msgid/bbedit/49f6174e-5054-49f4-9726-65163418c001o%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
This is the BBEdit Talk public discussion group. If you have a feature request
or need technical support, please email "[email protected]" rather than
posting here. Follow @bbedit on Twitter: <https://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] <mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/CAEXAeDJo9LAc9%2BetLA%2B0Nq_-EwcNfEOnyorEidO9Cay%3DA44H%3Dw%40mail.gmail.com
<https://groups.google.com/d/msgid/bbedit/CAEXAeDJo9LAc9%2BetLA%2B0Nq_-EwcNfEOnyorEidO9Cay%3DA44H%3Dw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
This is the BBEdit Talk public discussion group. If you have a feature request or need
technical support, please email "[email protected]" rather than posting here.
Follow @bbedit on Twitter: <https://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 view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/81a025a9-e883-3f6a-1ab3-eba5347e75c6%40darrenduncan.net.