gedit regex howto
Asked by
Tamas
Hello,
I got the gedit regex plugin with replace function from here: http://
It's great but I have one problem: "^" doesn't work as usual in regex to match the beginning of the line. The same is true for "$" as the end of the line. "^" mathces the beginning of the first line, "$" matches the end of the last line in the text. It's probably because the whole text is interpreted as one long line containing "\n"s marking newlines.
It's easy to find the ends of the lines by searching for "\n"s but I couldn't find similar for the beginning of the lines.
Any suggestions?
Thanks
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu gedit Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Tamas for more information if necessary.
To post a message you must log in.