Deutsch English Français Italiano |
<v63ar5$25gos$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Richard Owlett <rowlett@access.net> Newsgroups: comp.editors Subject: CLARIFICATION [Re: Confused first time Kate user] Date: Wed, 3 Jul 2024 05:57:39 -0500 Organization: A noiseless patient Spider Lines: 42 Message-ID: <v63ar5$25gos$1@dont-email.me> References: <v613h1$1m6k5$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 03 Jul 2024 12:57:42 +0200 (CEST) Injection-Info: dont-email.me; posting-host="780cc016186b7deffef1021c2d95496b"; logging-data="2278172"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JltLuDnwrjtYa7tYW6AYJSohOMNzNG0w=" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 Cancel-Lock: sha1:gVkMYk8X6/xrmtU/MAdshB5k7gY= In-Reply-To: <v613h1$1m6k5$1@dont-email.me> Bytes: 2686 On 07/02/2024 09:40 AM, Richard Owlett wrote: > I have a Debian machine with Kate Version 16.08.3 . > > I wish to do a search & replace using regular expressions. > The "Help" menu has led to > https://docs.kde.org/stable5/en/kate/katepart/regular-expressions.html > and > https://docs.kde.org/stable5/en/kate/katepart/regex-patterns.html > > I have strings of the form "XYZn" where n is one to three digits > representing values of from 1 to 299. I wish to replace all occurrences > with "abc". > > The documents give essentially no examples. > > Help please. > TIA > The first paragraph of the first reference explicitly warns: > This Appendix contains a brief but hopefully sufficient and > covering introduction to the world of regular > expressions. It documents regular expressions in the form > available within KatePart, which is not compatible with the regular > expressions of perl, nor with those of for example > grep. Please note the phrasing "... which is not compatible ...". This is a personal project. I started searching the web for information on regular expressions. Circumstances require I use this particular machine with its current software ] no updates ;[ My formal background is limited to a single introductory programming course I took as a freshman E.E. student in '61. I learned by doing. My web reading and a discussion in another forum has may has made me aware that there is more than one way to handle regular expressions. This time I asked on a "editor" focused group and specified the specific editor I'm using.