Edit your last message with sed commands#823
Open
Grafcube wants to merge 1 commit intocommetchat:mainfrom
Open
Edit your last message with sed commands#823Grafcube wants to merge 1 commit intocommetchat:mainfrom
Grafcube wants to merge 1 commit intocommetchat:mainfrom
Conversation
00f159b to
4fad0e9
Compare
You can use sed commands like `s/old text/new text` to edit the last message you sent. It does not support all sed features, just simple text replacement. Regex pattern: `/\As\/([^\/]+)\/([^\n\r]*?)\/?\s*\Z/`
4fad0e9 to
84bed1f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You can use sed commands like
s/old text/new textto edit the last message you sent. It doesn't support all sed features, just simple text replacement.Regex pattern:
/\As\/([^\/]+)\/([^\n\r]*?)\/?\s*\Z/If the pattern doesn't match, if the user hasn't sent a message in the last 20 messages or if the user is editing or replying to an event, it just sends it as a message.