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

[TOOL IMPROVEMENT] Removal of prefixes/suffixes in lists #702

Open
Steltek opened this issue Oct 30, 2023 · 1 comment · May be fixed by #1302
Open

[TOOL IMPROVEMENT] Removal of prefixes/suffixes in lists #702

Steltek opened this issue Oct 30, 2023 · 1 comment · May be fixed by #1302
Assignees
Labels
enhancement New feature or request

Comments

@Steltek
Copy link
Contributor

Steltek commented Oct 30, 2023

Sometimes you receive a list like this one:

No computer in this world will accept these as arguments to commands with the extraneous "- " in them. Of course, you can run a find/replace in any text editor to replace "- " with nothing, but what if the list looks like this?

Now you're off to regex-land to try and remove the dash at the beginning without affecting the rest of the line.

It would be nice if the list converter could be given a prefix and suffix that it would remove from the beginning/end of each line.

@Steltek Steltek added the enhancement New feature or request label Oct 30, 2023
sharevb added a commit to sharevb/it-tools that referenced this issue Sep 21, 2024
sharevb added a commit to sharevb/it-tools that referenced this issue Sep 21, 2024
sharevb added a commit to sharevb/it-tools that referenced this issue Sep 21, 2024
@sharevb
Copy link
Contributor

sharevb commented Sep 21, 2024

Hi @Steltek, @CorentinTh (and @steffenrapp, if you want to review), implemented in #1302

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

Successfully merging a pull request may close this issue.

3 participants