Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HI2UC plugin add option to change parentheses to square brackets #230

Open
Firestorm2359 opened this issue Jul 26, 2023 · 3 comments
Open

Comments

@Firestorm2359
Copy link

@ivandrofly please consider adding an option to change parentheses to square brackets.

@ivandrofly
Copy link
Member

You mean to replace (foobar) => [foobar]

Or to be able to match text inside the brackets?

@Firestorm2359
Copy link
Author

Firestorm2359 commented Jul 27, 2023

You mean to replace (foobar) => [foobar]

Yes this is what I mean. But not replace round brackets with square brackets when there's a song title bracketed within. e.g., ("(Sittin’ On) The Dock of the Bay" playing) should be ["(Sittin’ On) The Dock of the Bay" playing]

Or to be able to match text inside the brackets?

Not sure what you mean by this. Can you explain?

@ivandrofly
Copy link
Member

ivandrofly commented Jul 31, 2023

Yes this is what I mean. But not replace round brackets with square brackets when there's a song title bracketed within. e.g., ("(Sittin’ On) The Dock of the Bay" playing) should be ["(Sittin’ On) The Dock of the Bay" playing]

Replace from (foobar) => [foobar] is easy detecting if the text inside the the parentheses is music
it's not that easy!

Only if there was some kind of character/symbols that could be used to identify if the text
inside is a music text...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants