We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Proposed tag: question.
I want to make all class {Name}Test to be internal class {Name}Test, so I try to run:
class {Name}Test
internal class {Name}Test
ruplacer 'class (\w+)Test' 'internal class $1Test'
But it doesn't work as expected. I avoided it with
ruplacer 'class (\w+)(Test)' 'internal class $1$2'
But how can solve my issue without adding second capturing group?
The text was updated successfully, but these errors were encountered:
@dmerejkowsky I am looking for help!
Sorry, something went wrong.
Try putting a question mark after the + to make it non-greedy.
+
No branches or pull requests
Proposed tag: question.
I want to make all
class {Name}Test
to beinternal class {Name}Test
, so I try to run:But it doesn't work as expected. I avoided it with
But how can solve my issue without adding second capturing group?
The text was updated successfully, but these errors were encountered: