Recent Topics

[Today at 07:21:36 PM]

[Today at 02:41:46 PM]

[February 21, 2019, 08:13:15 AM]

[February 18, 2019, 04:55:41 PM]

[February 18, 2019, 04:38:28 PM]

[February 18, 2019, 02:01:40 PM]

[February 18, 2019, 12:23:02 PM]

[February 16, 2019, 06:05:42 AM]

[February 15, 2019, 03:38:13 PM]

[February 13, 2019, 12:00:55 PM]

[February 13, 2019, 05:22:18 AM]

[February 12, 2019, 02:15:37 PM]

[February 12, 2019, 04:26:10 AM]

[February 12, 2019, 04:13:27 AM]

[February 12, 2019, 01:53:55 AM]

[February 11, 2019, 04:40:30 PM]

[February 11, 2019, 04:16:53 PM]

[February 11, 2019, 07:13:26 AM]

[February 11, 2019, 07:08:33 AM]

[February 10, 2019, 02:18:43 AM]

[February 09, 2019, 11:05:33 AM]

[February 08, 2019, 02:57:40 PM]

[February 08, 2019, 03:43:23 AM]

Talkbox

2019 Feb 21 03:15:02
Cheav Villa:  _/\_

2019 Feb 20 15:56:46
Johann: see here

2019 Feb 20 13:33:02
Cheav Villa: ពូចាន់រ័ត្ន សុំអោយសួរព្រះអង្គ តើម្សិលមិញ រឺ​ម្សិលម្ង៉ៃ​ មានមនុស្ស​ប្រុសម្នាក់ស្រីម្នាក់ ឡើងទៅលើភ្នំ ឬទេ?

2019 Feb 20 13:31:37
Cheav Villa: ថ្វាយបង្គំ​ព្រះអង្គ  _/\_ _/\_ _/\_

2019 Feb 18 14:34:39
Johann: Meister Moritz

2019 Feb 18 13:29:24
Moritz: Leaving. May Bhante and all have a good day. _/\_

2019 Feb 18 13:18:25
Moritz: _/\_

2019 Feb 18 09:31:39
Cheav Villa:  _/\_

2019 Feb 18 08:19:34
Johann: Where and what to practice?

2019 Feb 18 08:15:08
Johann: Where and when ever good inspired and worthy to give into.

2019 Feb 18 08:14:03
Johann: That place here is not that different, and Nyom did already a lot here. And don't forget: Punna iomething that arises in ones heart, not outwardly.

2019 Feb 18 07:34:01
Cheav Villa: ជាមួយនឹង​ក្រុម​​លោកម្ចាស់​ស្រេង​   _/\_ _/\_ _/\_

2019 Feb 18 07:32:56
Cheav Villa: កូណាមិនបានទៅចូលរួមមាឃបូជានៅឱរ៉ាល់ឆ្នាំនេះ តែសង្ឃឹមនឹងបានទៅចូលរួម​ពិធីឡើងកុដិនៅខែ3 

2019 Feb 18 03:52:46
Cheav Villa:  _/\_ _/\_ _/\_

2019 Feb 18 01:21:42
Khemakumara:  _/\_ _/\_  _/\_

2019 Feb 18 01:21:10
Khemakumara:  _/\_ _/\_ _/\_

2019 Feb 18 01:16:11
Johann: Bhante. Nyom Villa.

2019 Feb 18 01:14:29
Johann: Nyom Moritz. Sokh chomreoun

2019 Feb 18 00:34:02
Moritz: Vandami Bhante _/\_

2019 Feb 15 04:14:01
Cheav Villa:  _/\_ _/\_ _/\_

2019 Feb 15 03:43:29
Johann: Another day, another possibility. We don't know what tomorrow might be

2019 Feb 15 03:43:01
Johann: ថ្ងៃ ថ្មី មួូយ ជា ឳកាស ថ្មី មួយ ទៀត។ យើង មិន អាច ដឹង មុន នូវ អ្វី ដែល នឹង កើតឡើង ថ្ងៃ ស្អែក

2019 Feb 12 05:47:26
Johann: Nyom Chanroth

2019 Feb 11 07:35:04
Khemakumara:  _/\_ _/\_ _/\_

2019 Feb 11 07:01:15
Johann: Bhante

2019 Feb 10 15:18:50
Vithou: Hope Preah Ang doing well too.. Thanks Preah Ang

2019 Feb 10 15:17:51
Vithou: Nhom kuna doing well so far.

2019 Feb 10 12:29:57
Johann: Nyom Vithou. But Nyom is well so far?

2019 Feb 10 12:02:00
Vithou: Actually they put in the kidnee. :)

2019 Feb 10 12:01:26
Vithou:  take it out on 20 Feb

2019 Feb 10 12:01:25
Vithou:  take it out on 20 Feb

2019 Feb 10 12:01:12
Vithou: the doctor put it for one month . I will

2019 Feb 10 12:00:28
Vithou: Kuna Tvay Bongkom Preah Ang  nyom kuna is fne now but still have a pipe inside mybody

2019 Feb 10 11:47:41
Johann: Sokh chomreoun Nyom Buddhi

2019 Feb 10 11:44:41
Ieng Puthy: ករុណាខានបានចូលមកក្នុងវេបសាយអានព្រះធម៌អស់ប៉ុន្មានថ្ងៃ

2019 Feb 10 11:41:53
Ieng Puthy: 🙏🏻🙏🏻🙏🏻ករុណាថ្វាយបង្គំុ Vandami Bhante

2019 Feb 09 14:43:21
Cheav Villa: សួស្តី​ពូចាន់រ័ត្ម _/\_

2019 Feb 09 14:42:08
Johann: ញោម Chanroth

2019 Feb 09 11:32:48
Johann: ខ្លះ ... how ever, good to here

2019 Feb 09 10:30:33
Cheav Villa: វិធូថាគាត់បានធូរខ្លះហើយ គាត់នឹងរកពេលទូលព្រះអង្គ តាម​Talk box  _/\_

2019 Feb 09 02:49:21
Cheav Villa: កូណាបានសួរគាត់ដែរ តែមិនទាន់មានការឆ្លើយតបទេ ប្រហែលជាគាត់រវល់ខ្លាំង  _/\_

2019 Feb 08 15:24:14
Johann: How is Nyom Vithou doing, Nyom Villa? Nyom Chanroth told that he still has burden after the hospital.

2019 Feb 07 13:07:06
Cheav Villa:  _/\_ _/\_ _/\_

2019 Feb 07 13:04:40
Johann: Nearly out of power("suns gift") for today again. May all give into good deeds with their power left.

2019 Feb 07 13:04:33
Johann: Nearly out of power("suns gift") for today again. May all give into good deeds with their power left.

2019 Feb 05 13:35:45
Johann: Meister Vinodh

2019 Feb 05 08:45:20
Johann: មុដិតា

2019 Feb 05 07:46:50
Cheav Villa: អរព្រះគុណ​ ព្រះអង្គ  _/\_ _/\_ _/\_ ពួកខ្ញុំកូណា បានធូរស្បើយ​ច្រើន​ អំពីបញ្ហាសុខភាពរាងកាយ​  _/\_

2019 Feb 05 07:25:29
Johann: Nyom Villa. Family, all healthy and well?

2019 Feb 05 03:34:18
Johann: Mr. Nathan

2019 Feb 04 13:42:11
Cheav Villa:  _/\_

2019 Feb 04 04:25:07
Cheav Villa: កូណា​ត្រេកអរ​ ដែលបានឃើញផ្លូវទៅមុខ ឧបនិស្ស័យ​ការបដិបត្តិ​ឧបោសថ​យឺតយូរ​  _/\_ _/\_ _/\_

2019 Feb 04 04:22:09
Cheav Villa: ការហាត់ធ្វើឧបោសថបានបន្តិចបន្តួួច ដោយវិធីស្រាយចំណងដែលជាប់មាំ

2019 Feb 04 04:18:58
Cheav Villa: ព្រះអង្គ​ _/\_ ចិត្តនឿយណាយចន្លោះពេលបានសុខ និងបានទុក្ខ

2019 Feb 04 04:04:13
Cheav Villa:  _/\_ _/\_ _/\_ កូណាព្រះអង្គ

2019 Feb 04 03:55:36
Johann: English iti 49

2019 Feb 04 03:51:37
Johann: Importand teaching in regard of wishing for becoming or not-becoming! ទិដ្ឋិគតសូត្រ (១២.)

2019 Feb 04 03:37:57
Johann: It can be observed free of all Sakaya ditthi as well.

2019 Feb 04 03:25:52
Johann: Uposatha is a good tradition to take on.

2019 Feb 04 03:24:53
Johann: This, the Buddha told, can not be archived by just wishing, Nyom, the end of suffering.

2019 Feb 04 02:23:26
Cheav Villa: May​ all possibilities in a rebirth has decreased  _/\_ _/\_ _/\_

2019 Feb 04 02:18:49
Cheav Villa: Since my grandmother, my dad, I kana has not taken on the traditional of Chinese new year

2019 Feb 04 01:28:26
Johann: An insightful Chines New Year and new moon day, a rebirth of another round of possibility in chosing ways with every action.

2019 Feb 03 16:08:02
Ieng Puthy: ករុណាថ្វាយបង្គំុព្រះអង្គvandami 🙏🏻🙏🏻🙏🏻

2019 Feb 03 12:20:05
Cheav Villa:  កូណាព្រះអង្គ  _/\_ 

2019 Feb 03 12:10:00
Johann: Nyom Villa

2019 Feb 03 07:06:33
Johann: Nyom Buddhi

2019 Feb 02 16:53:13
Johann: All a matter of leaving house and not searching for the next, Nyom.

2019 Feb 02 16:51:36
Johann: Editing post here is not so good since there is a software issue, cutting away all to 200 characters.

2019 Feb 02 16:18:35
Ieng Puthy: ព្រះអង្គករុណានឹករលឹកភ្នំឱរា៉ល់ណាស់ សង្ឃឹមថាថ្ងៃណាមួយករុណានឹងបានទៅថ្វាយបង្គំុព្រះអង្គដោយផ្ទាល់ ។ បេីបុណ

2019 Feb 02 15:52:20
Johann: Nyom Buddhi

2019 Feb 02 15:35:54
Ieng Puthy: 🙏🏻🙏🏻🙏🏻ករុណាថ្វាយបង្គំុVandami Bhante.

2019 Feb 02 15:33:38
Ieng Puthy: 🙏🏻🙏🏻🙏🏻

2019 Feb 02 10:35:46
Cheav Villa:  _/\_ _/\_ _/\_

2019 Feb 02 08:36:16
Johann: Atma will then make a "sun-break" for today

2019 Feb 01 11:36:30
Ieng Puthy: ករុណាថ្វាយបង្គំ🙏🏻🙏🏻🙏🏻Vandami Bhante

2019 Jan 31 15:55:14
Johann: Bhante Muni

2019 Jan 30 15:40:30
Johann: Nyom Buddhi

2019 Jan 30 05:24:55
Johann: "sreng" is really "nasty" if becoming. It's also easy to get by sweeping dusty group and dry gras.

2019 Jan 30 04:35:46
Cheav Villa: កូណាព្រះអង្គ  _/\_

2019 Jan 30 04:11:18
Johann: It's possible not "sreng", Nyom, it's autumn diseas, and infection not to be healed. The origin why the Buddha allowed tonics ("food" at "wrong" time), weakness of the body.

2019 Jan 30 03:27:08
Cheav Villa:  _/\_ _/\_ _/\_

2019 Jan 30 01:12:39
Sophorn: Bhante Khemakura, kana hofft, Bhante geht es besser!  _/\_

2019 Jan 30 01:12:10
Sophorn: Vandami Bhante Khemakura  _/\_

2019 Jan 30 01:11:53
Sophorn: Vandami Bhante Indannano  _/\_

2019 Jan 30 01:11:38
Sophorn: Vandami Bhante Johann _/\_

2019 Jan 29 10:12:10
Johann: Bhante. Wie geht es der Unterlippe?

2019 Jan 27 04:59:09
Johann: Nyom Vithou

2019 Jan 26 14:38:07
Cheav Villa: Vandāmi Bhante Indaññāno  _/\_

2019 Jan 25 16:12:30
Cheav Villa:  :o _/\_

2019 Jan 25 16:04:02
Johann: There are two, actually. Something to be careful about.

2019 Jan 25 15:39:25
Cheav Villa: Vilāsa  :D karuṇā found this meaning in Pāḷi Dictionary  _/\_

2019 Jan 25 15:24:52
Johann: No vaṇṇa-macchariya: rejoicing that other appear as vilasa as oneself... Sadhu!

2019 Jan 25 15:17:51
Cheav Villa:  _/\_ _/\_ _/\_

2019 Jan 25 14:29:43
Johann: If Ñoma Buddhi likes to wear the color of an ārāmikinī, to be able to edit, add translations, corrections, it should be no problem. Ñoma Vīḷa might help to get known the "power and responsibility" of goodness.

2019 Jan 25 14:22:02
Ieng Puthy: 🙏🏼អរព្រះគុណព្រះអង្គ

2019 Jan 25 11:55:49
Johann: No problem Nyom, that was clear (word prediction...). Only moderator and admin can edit text in the shoutbox.

2019 Jan 25 11:04:42
Ieng Puthy: 🙏🏻ព្រះអង្គករុណាសរសេរអក្សរខុស ករុណារកកន្លែងលុបអក្សរដែលខុសមិនឃេីញទេ ។ ករុណាចង់សរសេរVandami Bhante មិនមែន vandalism Bhante ទេ។

Tipitaka Khmer

 Please feel welcome to join the transcription project of the Tipitaka translation in khmer, and share one of your favorite Sutta or more. Simply click here or visit the Forum: 

Search ATI on ZzE

Zugang zur Einsicht - Schriften aus der Theravada Tradition



Access to Insight / Zugang zur Einsicht: Dhamma-Suche auf mehr als 4000 Webseiten (deutsch / english) - ohne zu googeln, andere Ressourcen zu nehmen, weltliche Verpflichtungen einzugehen. Sie sind für den Zugang zur Einsicht herzlich eingeladen diese Möglichkeit zu nutzen. (Info)

Random Sutta
Random Article
Random Jataka

Zufälliges Sutta
Zufälliger Artikel
Zufälliges Jataka


Arbeits/Work Forum ZzE

"Dhammatalks.org":
[logo dhammatalks.org]
Random Talk
[pic 30]

Zugang zur Einsicht - Übersetzung, Kritik und Anmerkungen

Herzlich Willkommen im Arbeitsforum von zugangzureinsicht.org im Onlinekloster sangham.net!


Danke werte(r) Besucher(in), dass Sie von dieser Möglichkeit Gebrauch machen und sich direkt einbringen wollen.

Unten (wenn Sie etwas scrollen) finden Sie eine Eingabemaske, in der Sie Ihre Eingabe einbringen können. Es stehen Ihnen auch verschiedene Gestaltungsmöglichkeiten zur Verfügung. Wenn Sie einen Text im formatierten Format abspeichern wollen, klicken Sie bitte das kleine Kästchen mit dem Pfeil.

Die Textfelder "Name" und "email" müssen ausgefüllt werden, Sie können hier aber auch eine Anonyme Angabe machen und eine Pseudo-email angeben (geben Sie, wenn Sie Rückantwort haben wollen, jedoch einen Kontakt an), wenn Ihnen das unangenehm ist. Der Name scheint im Forum als Text auf und die Email ist von niemanden außer dem Administrator einsehbar.

Wenn Sie den Text fertig geschrieben haben, müssen Sie noch den Spamschutz überwinden, das Bild zusammen setzen, und dann auf "Vorschau" oder "Senden" drücken, wenn für Sie alles passt.

Wenn Sie eine Spende einer Übersetzung machen wollen, wäre es schön, wenn Sie etwas vom Entstehen bzw. deren Herkunft erzählen und Ihrer Gabe vielleicht noch eine Widmung anhängen.

Gerne, so es möglich ist, werden wir Ihre Übersetzung dann auch den Seiten von Zugang zur Einsicht veröffentlichen. Für generelle Fragen zu dem Umfang der Dhamma-Geschenke auf ZzE sehen Sie bitte in den FAQ von ZzE ein.

Gerne empfangen wir Kritik und selbstverständlich auch Korrekturen oder Anregungen hier. Es steht Ihnen natürlich offen und Sie sind dazu herzlich eingeladen auch direkt mit einem eigenen Zugang hier an den Arbeiten vielleicht direkt teilzunehmen.

Sadhu!

metta & mudita
Ihr Zugang zur Einsicht Team

Um sich im Abeitsforum etwas unzusehen, klicken Sie hier. . Sie finden hier viele Informationen und vielleicht sogar neues rund um Zugang zur Einsicht.

Author Topic: [ATI.eu] Replacement, regex issues (Content styling)  (Read 6303 times)

0 Members and 1 Guest are viewing this topic.

Offline Moritz

  • Cief houskeeper / Chefhausmeister
  • Very Engaged Member
  • *
  • Sadhu! or +237/-0
  • Gender: Male
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #15 on: July 01, 2018, 04:37:11 PM »
Spoken of problems... Nyom Moritz (attached)

/.../

Code: [Select]
Fatal error: Uncaught Error: Call to undefined function setTimeLimit() in ...

Atma will do an reindex, since files have different names now and index still holds the old. Maybe that solves that.

Oh, that is my error. I wrote 'setTimeLimit' instead of 'set_time_limit' in the program, without testing it. So should have nothing to do with indexing any new files. I will change that. One moment...

Okay, I changed it. Now it should work correctly, I hope. But have not tested it.

_/\_

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +356/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #16 on: July 01, 2018, 04:52:01 PM »
Index is still slow, might be retested tomorow, Nyom Moritz, so that not break up with the progress.
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +356/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #17 on: July 02, 2018, 02:07:15 AM »
Still this media-error (attachment; messy layout, no select all and resultpage same as searchpage), indexing might not have complete since battery was empty over night.

execution gives now no fatal error

"$" comand seems no more working in replace-line. Maybe a change of plugin-code have been done. Havn't tested "\"

This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +356/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #18 on: July 02, 2018, 10:44:52 AM »
After update Indexing finished, the "layout error" still exists, like pic above. The text says:

Code: [Select]
Warning: file_get_contents(/var/www/clients/client2157/web5417/web/lib/plugins/batchedit/images/file-document.svg): failed to open stream: No such file or directory in /var/www/clients/client2157/web5417/web/lib/plugins/batchedit/admin.php on line 833

Warning: file_get_contents(/var/www/clients/client2157/web5417/web/lib/plugins/batchedit/images/pencil.svg): failed to open stream: No such file or directory in /var/www/clients/client2157/web5417/web/lib/plugins/batchedit/admin.php on line 833

Warning: file_get_contents(/var/www/clients/client2157/web5417/web/lib/plugins/batchedit/images/arrow-down.svg): failed to open stream: No such file or directory in /var/www/clients/client2157/web5417/web/lib/plugins/batchedit/admin.php on

Thinking, oh, my person added the images in the directory, having taken them from the github download (trusting that this might be welcome), and now seems to work fine, in regard of layou.

The download on docuwiki misses those images. My person told it via the forum .

How ever, the resultpages misses now the amout of pages matched, and sum of matches, which is a useful controll and estimation of success point.
« Last Edit: July 02, 2018, 11:55:41 AM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Moritz

  • Cief houskeeper / Chefhausmeister
  • Very Engaged Member
  • *
  • Sadhu! or +237/-0
  • Gender: Male
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #19 on: July 02, 2018, 02:41:48 PM »
Oh, I forgot to include the images that were added by the original author in his most recent updates. The DokuWiki download still has the version from February. The original author, Mykola Ostrovskyy has not yet created a new release version since February. It seems he is still working on some major changes he would like to add before the next "official" version.

So all errors here are just because I forgot to upload certain new files. But now I think it should be okay?

How ever, the resultpages misses now the amout of pages matched, and sum of matches, which is a useful controll and estimation of success point.

I'm not sure how this could be. Testing from here, I get infos like this:

After "Preview":
Quote
Search results: 9808 matches on 1019 pages

After "Apply":
Quote
Edit results: 9808 matches on 1019 pages, 2 replacements applied

"$" comand seems no more working in replace-line. Maybe a change of plugin-code have been done. Havn't tested "\"

The replacement syntax has not been changed. Testing here, both "\" and "$" works for inserting match back-references.

For example:

regex: "/(mindfulness)/"

replacement: "$1 test \1"

will replace "mindfulness" with "mindfulness test mindfulness".
Seems to be working without problem here.

_/\_

Offline Moritz

  • Cief houskeeper / Chefhausmeister
  • Very Engaged Member
  • *
  • Sadhu! or +237/-0
  • Gender: Male
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #20 on: July 02, 2018, 02:55:00 PM »
Just came across another error that could happen when the amount of matches is really huge (for example, searching for "/is/" - must have millions of matches probably):

Quote
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 69632 bytes) in /var/www/clients/client2157/web5417/web/lib/plugins/batchedit/admin.php on line 336

So just to inform, if coming across that, that is because there are too many results to keep in memory.

I had some discussion with the author who is currently in the process of making some major changes, also thinking about how to deal with huge result sets . So I think I should mention that to him as well and maybe help and try to find a solution. But at the moment don't have much time for this.

Offline Moritz

  • Cief houskeeper / Chefhausmeister
  • Very Engaged Member
  • *
  • Sadhu! or +237/-0
  • Gender: Male
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #21 on: July 02, 2018, 03:13:41 PM »
"$" comand seems no more working in replace-line. Maybe a change of plugin-code have been done. Havn't tested "\"

The replacement syntax has not been changed. Testing here, both "\" and "$" works for inserting match back-references.

Maybe another hint, not to forget the parantheses ().

\1, \2, \3 or $1, $2, $3 ... etc. are references to the groups inside parantheses. With no parantheses, there is no input for \1, \2, $1, $2 etc.

example:
regex: "/(\s[a-zA-Z]*) something in between (mindfulness)/"

replacement: "\1 something different \2"

would replace like this:

"satipatthana something in between mindfulness"
=> "satipatthana something different mindfulness"

"ariyasacca something in between mindfulness"
=> "ariyasomething something different mindfulness"

_/\_

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +356/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #22 on: July 02, 2018, 04:18:11 PM »
Oh, I forgot to include the images that were added by the original author in his most recent updates. The DokuWiki download still has the version from February. The original author, Mykola Ostrovskyy has not yet created a new release version since February. It seems he is still working on some major changes he would like to add before the next "official" version.

So all errors here are just because I forgot to upload certain new files. But now I think it should be okay?

How ever, the resultpages misses now the amout of pages matched, and sum of matches, which is a useful controll and estimation of success point.

I'm not sure how this could be. Testing from here, I get infos like this:

After "Preview":
Quote
Search results: 9808 matches on 1019 pages

After "Apply":
Quote
Edit results: 9808 matches on 1019 pages, 2 replacements applied

Maybe it's a matter of display, caused by responsibility for mobil advices.
But what was just white before, contains now the matches.

* Johann : There seems to be a lot to understand in regard of "Zwischenspeicher"Also troubles with favicon, even on all places placed and a great deal that in cs-rm, the site takes the old version as the newer, meaning all "drafts" to recover, one by one.

"$" comand seems no more working in replace-line. Maybe a change of plugin-code have been done. Havn't tested "\"

The replacement syntax has not been changed. Testing here, both "\" and "$" works for inserting match back-references.

For example:

regex: "/(mindfulness)/"

replacement: "$1 test \1"

will replace "mindfulness" with "mindfulness test mindfulness".
Seems to be working without problem here.

_/\_

That's great. Might be again certain momentary personal handycap, here and there.
« Last Edit: July 02, 2018, 04:25:29 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +356/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #23 on: July 02, 2018, 04:27:22 PM »
"$" comand seems no more working in replace-line. Maybe a change of plugin-code have been done. Havn't tested "\"

The replacement syntax has not been changed. Testing here, both "\" and "$" works for inserting match back-references.

Maybe another hint, not to forget the parantheses ().

\1, \2, \3 or $1, $2, $3 ... etc. are references to the groups inside parantheses. With no parantheses, there is no input for \1, \2, $1, $2 etc.

...
_/\_
Sadhu for acting zuvorkommend.
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +356/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #24 on: July 26, 2018, 12:08:30 PM »
lookahead: no idea why there is recognition but no replacement for example with this regex:

Code: "find" [Select]
/\[\[([^\w]*)\/(?=lib\/|tipitaka\/|cdrom\/|extras\/|news\/|noncanon\/|ousources\/|pdf\/|s\/|tech\/)/


Code: "replace with [Select]
[[de:


a given [[../../../lib gets the match [[../../../ and the replacement look the same [[../../../lib ?

certainly total no more my persons sphere at all, this chess thinking...
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +356/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #25 on: August 12, 2018, 03:35:25 PM »
(...lookahead need something behind. Guess the issue is solved for my person)

The replacment tool has a problem with " . Put into search or replace, it would break the search or replace string after execution. But can be fixed by using [^\w] instead, at least for search.
« Last Edit: August 12, 2018, 03:47:51 PM by Johann »
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +356/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
strange error
« Reply #26 on: August 15, 2018, 11:16:51 AM »
strange error appeared while doing on replacement after another. But seems to be fine if just loging in again.

screenshort attached.

Info of a "bug": if selecting matches but push again on preview, it will return the replacements in green althought just reviewed.
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Moritz

  • Cief houskeeper / Chefhausmeister
  • Very Engaged Member
  • *
  • Sadhu! or +237/-0
  • Gender: Male
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #27 on: August 17, 2018, 12:22:57 AM »
The first looks like an error on Greensta's side. The database was unavailable for a moment it seems.  :-| But if not happening more often, hopefully not a big problem.

The second bug was introduced by me. I just wanted to have different colors for match and replacement.
So instead of having yellow for both, I wanted to have yellow and green in the preview.
And red and green after the replacement.

But it seems I have not changed it for the first preview, where still both is yellow.

The original author was also wondering why I did this change. Now I see it's different for the first preview. Okay.

There has been a lot of new work been done in the meantime by the original author and others, including some really helpful new features like a progress bar, so that one can estimate how much more time a replacement will take for large updates. And much cleaner solutions to the small changes that I made.

I think I should update to the new version soon.

Offline Johann

  • Samanera
  • Very Engaged Member
  • *
  • Sadhu! or +356/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #28 on: August 17, 2018, 02:15:37 AM »
Good to hear. As far for now, Atma is used to and knows it's capacity and ways well.
This post and Content has come to be by Dhamma-Dana and so is given as it       Dhamma-Dana: Johann

Offline Moritz

  • Cief houskeeper / Chefhausmeister
  • Very Engaged Member
  • *
  • Sadhu! or +237/-0
  • Gender: Male
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #29 on: September 05, 2018, 11:39:30 PM »
I installed the new version of BatchEdit plugin.
There are some new useful options next to the search input:

  • Search mode: "regular expression" (the usual case from previous version) or "plain text" (for simply searching text without regular expression syntax)
  • Case sensitive: yes/no (Klein-/Großschreibung beachten oder nicht)
  • Multiline: not sure how this works; maybe regular expressions would never match mutliple lines without using this option.


There is also a cog wheel (Zahnrad) symbol in the top right corner next to these options, which brings up some additional options:
  • Use delimiters and modifiers in regular expression (not sure what these are, but probably can be found out about here: https://www.regular-expressions.info/ )
  • Show match context of X characters or Y lines
  • Stop search after finding first Z matches (probably important: is set to 100 by default and can be deactivated)
  • Preserve marked matches on preview (wenn nicht gesetzt, verschwinden alle gesetzten Häkchen bei der Vorschau und müssen neu gesetzt werden)
  • Show confirmation on applying edits with no summary (not sure what this means; irgendeine Abfrage zur Sicherheit in manchen Fällen)

Also there is now a time limit on how long a search or replacement can take (can be changed in Admin settings). I have set this to 10 hours now. Should be enough usually.

Very helpful: there is now a progress bar for the search progress and replacement progress, helping estimating how much longer it will take (very light grey, difficult to distinguish from white).

Not tested much, hopefully not any new errors.


Edit: Just tested searching for "dhamma" with no limit of results; returns an empty result page. Probably too many results so that something gets broken.
Searching for "dhamma" with limit of 16000 results works, and takes a few minutes to complete.
Searching for "Johann" without limit works and gives 2076 results.
« Last Edit: September 05, 2018, 11:44:47 PM by Moritz »

Tags: