I'm trying to create a pattern that will find two Chinese characters
separated by 1 or more spaces and covert it to a single ideographic space
(\x{3000}), using the following pattern:
Find: ([\x{2f00}-\x{ffff}]){1}[\s^$]+([\x{2f00}-\x{ffff}])
Replace: \1\x{3000}\2
But this also recognizes newlines as spaces. I figure out how to do it
using [[:blank:]] with
Find: ([\x{2f00}-\x{ffff}]){1}[[:blank:]]+([\x{2f00}-\x{ffff}])
But is there another way? Something like [\s^$] ? "[\s^\n]" doesn't work.
Jim
--
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/e808f9b0-0766-47cc-bcd5-b8674a9567a8n%40googlegroups.com.