Recent Topics

[April 25, 2019, 03:29:01 PM]

[April 25, 2019, 11:15:51 AM]

[April 25, 2019, 07:31:50 AM]

[April 25, 2019, 06:51:43 AM]

[April 24, 2019, 10:54:37 AM]

[April 24, 2019, 10:53:09 AM]

[April 24, 2019, 07:25:15 AM]

[April 24, 2019, 03:14:03 AM]

[April 23, 2019, 09:20:10 AM]

[April 23, 2019, 09:15:40 AM]

[April 23, 2019, 09:01:16 AM]

[April 22, 2019, 05:38:01 PM]

[April 22, 2019, 06:33:08 AM]

[April 20, 2019, 08:29:37 AM]

[April 20, 2019, 08:24:43 AM]

[April 20, 2019, 08:10:58 AM]

[April 19, 2019, 06:53:43 AM]

[April 18, 2019, 04:01:57 PM]

[April 18, 2019, 02:22:14 AM]

[April 17, 2019, 11:15:34 PM]

[April 13, 2019, 05:11:01 PM]

[April 13, 2019, 08:20:39 AM]

[April 13, 2019, 04:17:38 AM]

[April 12, 2019, 02:10:10 PM]

[April 11, 2019, 12:38:23 PM]

[April 10, 2019, 08:55:52 AM]

[April 09, 2019, 03:33:44 PM]

[April 07, 2019, 04:51:51 PM]

[April 07, 2019, 01:23:59 AM]

[April 07, 2019, 01:15:02 AM]

[April 05, 2019, 03:46:39 PM]

Talkbox

2019 Apr 25 07:32:44
Ieng Puthy: 🙏🏻🙏🏻🙏🏻អរព្រះគុណ ព្រះអង្គ

2019 Apr 25 04:42:51
Johann: Sokh chomreoun, Nyom. (May well-being come to fullfillment.)

2019 Apr 25 02:30:46
Ieng Puthy: តេីលោកRoman មានបំណងទៅវត្តអកយំនៅថ្ងៃណាដែរ?ព្រះអង្គ🙏🏻🙏🏻🙏🏻

2019 Apr 25 02:29:26
Ieng Puthy: ករុណានិង បងសុភឿន នឹងជូនលោកRoman ទៅវត្តអកយំបាន

2019 Apr 25 02:28:00
Ieng Puthy: ករុណានិង បង សុភឿន នឹងជួយស

2019 Apr 25 02:27:00
Ieng Puthy: 🙏🏻🙏🏻🙏🏻ករុណាថ្វាយបង្គំុព្រះអង្គ Vandami Bhante

2019 Apr 24 17:56:05
Cheav Villa: កូណា សរសេរពួកយើង​ គឺជំនួសមុខ​ បងពុទ្ធីនិងសុភឿន  _/\_

2019 Apr 24 17:54:42
Cheav Villa: បង​ពុទ្ធី បានអោយកូណាសួរអំពីពេលវេលា​ ដែលលោកRoman នឹងទៅអកយំ _/\_

2019 Apr 24 17:52:47
Cheav Villa:  _/\_ _/\_ _/\_  កូណាបាន ប្រាប់បងពុទ្ធី និង​សុ​ភឿន ប្រសិនបើគាត់អាចជួយបាន ព្រោះកូណាមិនមានសេរីភាពច្រើនដូចពួកគាត់

2019 Apr 24 17:01:34
Johann: Modern (ab)art of conversation and old patient culture...  :) great training only serious take on and rushing hide on messanger, fb, or in the ocean of Maras internet. Mudita.  :)

2019 Apr 23 13:36:18
Cheav Villa: Kana :D _/\_

2019 Apr 23 13:24:57
Johann: ? But light is always good. Oh, maybe the honey bee candles...: Atma told Upasika Sophorn to take them with her to share, since the mices would eat them away here. Mudita

2019 Apr 23 12:52:51
Cheav Villa: Kana Preah Ang  _/\_ Vithou told kana that Bhante sending us a pair of candles all through Bang Sophorn  :D _/\_

2019 Apr 23 12:06:15
Johann: Nyom Villa. Atma does not understand all circumstances but much mudita and appreciantion with sharing merits with each other, taking each other along good.

2019 Apr 23 11:04:23
Cheav Villa: កូណា ទើបបានដំណឹងពី Vithou ថាព្រះអង្គផ្ញើទានមួយគូមក តាមរយៈ​បងសុភ័ណ​ ខ្ញុំកូណា​សូម​អរព្រះគុណ​  :) _/\_

2019 Apr 23 11:02:19
Cheav Villa: ថ្វាយបង្គំ​ព្រះអង្គ  _/\_ _/\_ _/\_

2019 Apr 23 02:03:31
Johann: Nyom. (smilies of the common places are not visible here for many)

2019 Apr 22 17:36:16
Ieng Puthy: 🙏🏻🙏🏻🙏🏻ករុណាសូមថ្វាយបង្គំុ Vandami Bhante

2019 Apr 22 15:54:07
Cheav Villa: Master Moritz  _/\_

2019 Apr 22 15:03:17
Moritz: _/\_ Bong Villa

2019 Apr 20 07:30:33
Moritz: Vandami Bhante _/\_

2019 Apr 20 05:25:34
Moritz: _/\_ bong Vithou

2019 Apr 19 06:30:18
Cheav Villa:  _/\_

2019 Apr 19 06:25:58
Moritz: _/\_ bong Villa

2019 Apr 19 06:25:48
Moritz: _/\_ _/\_ _/\_ Bhante

2019 Apr 19 02:23:14
Cheav Villa:  សាធុ​ៗ  _/\_ _/\_ _/\_

2019 Apr 19 01:42:18
Johann: Another fullmoon, another chance. It's not sure that breaking apart will make it the last. May all spend a auspicious Uposatha.

2019 Apr 17 15:33:54
Chanroth:  _/\_ bong Moritz

2019 Apr 17 15:32:22
Chanroth:  _/\_bong villa

2019 Apr 17 15:31:07
Chanroth:  _/\_ _/\_ _/\_

2019 Apr 17 07:11:18
Johann: Bhante

2019 Apr 17 05:05:51
Johann: Bhante  _/\_

2019 Apr 17 02:16:55
Johann: May all bring some merits left into this new year for them!

2019 Apr 12 17:30:17
Cheav Villa:  _/\_ _/\_ _/\_

2019 Apr 12 14:39:05
Johann: Nyom Moritz, Nyom Villa

2019 Apr 12 14:27:27
Cheav Villa:  _/\_  Master Moritz

2019 Apr 12 14:26:24
Moritz: _/\_ Bong Villa

2019 Apr 12 14:26:12
Moritz: _/\_ _/\_ _/\_ Bhante

2019 Apr 12 14:09:15
Cheav Villa:  _/\_ _/\_ _/\_

2019 Apr 12 01:54:32
Johann: A meritful Sila-day and much rightly joy by doing merits.

2019 Apr 09 08:24:39
Johann: Meister Moritz

2019 Apr 09 08:14:00
Moritz: _/\_ _/\_ _/\_ Bhante

2019 Apr 06 19:12:07
Moritz: Vandami, Bhante _/\_

2019 Apr 06 08:32:11
Khemakumara:  _/\_ _/\_ _/\_

2019 Apr 06 07:44:05
Johann: _/\_ Bhante Indannano, Bhante Khemakumara

2019 Apr 06 06:51:05
Cheav Villa:  _/\_ _/\_ _/\_

2019 Apr 05 14:37:22
Khemakumara: Nyom Roman

2019 Apr 05 14:35:22
Johann: Bhante, Meister Roman

2019 Apr 05 14:18:13
Khemakumara:  _/\_ _/\_ _/\_ Bhante

2019 Apr 05 09:58:10
Khemakumara: Nyom Cheav Villa

2019 Apr 05 09:55:43
Cheav Villa:  _/\_ _/\_ _/\_

2019 Apr 05 09:53:07
Khemakumara: Nyom Moritz

2019 Apr 05 07:23:13
Moritz: Vandami Bhante _/\_

2019 Apr 05 05:41:00
Johann: Nyom Villa

2019 Apr 04 02:43:01
Johann: May all spend a meritful old month over New month birth day this day.

2019 Apr 03 21:09:04
Moritz: _/\_ _/\_ _/\_

2019 Apr 03 13:50:42
Cheav Villa:  _/\_ _/\_ _/\_

2019 Apr 03 13:23:48
Johann: Sadhu

2019 Apr 03 13:07:53
Khemakumara: Tomorrow is new moon uposatha,  take this noble opportunity to come together in khema (peaceful).  It is not common,  that living beings are in contact with Buddha,  Dhamma, Sangha.  _/\_ _/\_ _/\_

2019 Apr 02 15:20:21
Cheav Villa:  _/\_ _/\_ _/\_

2019 Apr 02 05:09:56
Johann: Nyom Moritz

2019 Apr 02 04:40:57
Moritz: Good morning Bhante and Chanroth _/\_ And good night to me. :)

2019 Apr 01 17:12:00
Moritz: Good evening Bhante. _/\_

2019 Apr 01 15:16:08
Johann: Nyom Chanroth, Nyom Villa (mudita that those wishing to stay in touch are able here)

2019 Apr 01 04:29:01
Johann: One not having overcome sakayaditthi is not capable to judge right and will always be corrupt.

2019 Mar 31 01:02:21
Johann: One would not let go of ones stand/home.

2019 Mar 31 01:00:01
Johann: As long as Saddha does not arise, it's not right view but stuck in "panna".

2019 Mar 30 10:03:35
Johann: Nyom Moritz

2019 Mar 30 08:48:04
Moritz: Vandami Bhante _/\_

2019 Mar 30 08:28:03
Johann: Samvega, yes, Nyom. If there is no pasada. Cheating is of no help but selfish motivated. Maybe Affirming the Truths of the Heart: The Buddhist Teachings on Samvega  

2019 Mar 30 08:13:03
Kong Sokdina: Vandami Bhante    :D បើចង់ អោយចេះប្រមាណ បើបាន អោយចេះគ្រប់ ជៀរាងការកើតទុក្ខនាំមកនូវសេចក្ដីខកចិត្ត(depressed mood) ។

2019 Mar 29 06:06:43
Johann: Like a path would disappear fastly in the forest, the path for many unseen if nobody steps on it.

2019 Mar 29 06:04:31
Johann: Because Uppekha isn't the highest and nobody would benefit from it.

2019 Mar 29 06:03:18
Johann: And why the even Noble ones and Arahats continue asking, answering, coss-question, giving Anumodana, critic?

2019 Mar 29 00:41:54
Johann: Once knowing good and bad, no more independency of approve of others, thanks, praise for ones sacrifices.

2019 Mar 29 00:40:05
Johann: What ever one does, one does for him/herself. Knowing this it's importand to give praise and approve to ones own skillful deeds, shame and disprove to bad.

2019 Mar 28 08:51:12
Moritz: I am leaving my computer to work without me. May all have a good Uposatha day. _/\_

2019 Mar 28 08:00:48
Moritz: Ja, gut angekommen. Noch nicht ganz umgestellt. :) Bald wieder los zum Taxifahren. _/\_

2019 Mar 28 07:45:55
Johann: Meister Moritz. Gut angekommen und wieder umgestellt?

2019 Mar 28 07:28:51
Moritz: Vandami Bhante _/\_

2019 Mar 28 00:47:42
Johann: May all spend a meritful Sila-day and be able to recoice with their beauty of having given all being the gift of the Uposatha-Silas.

2019 Mar 26 01:18:56
Cheav Villa:  :D _/\_

2019 Mar 26 01:18:46
Cheav Villa: មិនខុសពីរឿងទៅសុំសៀវភៅសន្ទនានុក្រម នៅវ ត្ត បញ្ញា​ និង..

2019 Mar 26 01:16:15
Cheav Villa: កូណា ជារឿងដែលម្នាក់បានទទួលស្តាប់ និងធ្វើតាមតែមិនបានសំរេច តាមគោលដៅ :D _/\_

2019 Mar 25 15:28:24
Johann: Others, even if pure, is open for critic and bad assumings. Envy, jealously... on each side. So to become not susbected, needs good advices, double hard for woman to act perfect.

2019 Mar 25 15:23:21
Johann: Pappies can give good lessons when they don't fall, but the deeper, the hard training, must come from liberal mommies for daughters and liberal pappies for sons, in the world and for beyond.

2019 Mar 25 15:11:15
Cheav Villa:   _/\_ _/\_ _/\_

2019 Mar 25 15:04:40
Johann: Does mommy generally don't actually love her child when not react?

2019 Mar 25 15:03:13
Johann: Mommy, mommy... but I like... ohh, they bite me... I am hungry... when do we go back?... why must we sit here... mommy!

2019 Mar 25 15:00:37
Johann: Which can be changed all the time, with feeding rightly.

2019 Mar 25 14:55:50
Cheav Villa: កូណាសង្ឃឹមថា.​ ជារឿងឧបនិស្ស័យ.​  :D _/\_ _/\_ _/\_

2019 Mar 25 14:50:25
Johann: ...teaching and mirror.

2019 Mar 25 14:49:40
Johann: When one is stressed or busy, remember how many times one him/herself was so as well. Intention will always has it's effects, sometimes quick, sometimes even sisters, mother and child... Nyom wouldn't have become here, if there would be not long, long bounds. Watch your child. Thats always a great t

2019 Mar 25 14:40:41
Cheav Villa: _/\_ _/\_ _/\_

2019 Mar 25 14:39:48
Cheav Villa: ព្រោះកូណាមិនអាចទៅឱរ៉ាល់បានកំឡុងពេលនេះ តែអាចជួបនៅភ្នំពេញបាន តែចេតនាម្ខាងមិនចង់ជួប ទើបមិនអាចជួប

2019 Mar 25 14:38:39
Cheav Villa: កូណាគ្រាន់តែចង់បញ្ជាក់អំពីចេតនា ដែលម្នាក់មាន និងម្នាក់គ្មាន ក្នុងការ​ជួបគ្នា.ជាហេតុមិនបានជួប :D _/\_

2019 Mar 25 14:37:02
Cheav Villa:    _/\_ _/\_ _/\_

2019 Mar 25 13:44:16
Johann: Nyom Vithou. Foot well again?

2019 Mar 25 11:56:36
Johann: Good stories: The Healing of the Bull and Prisoners of Karma .

2019 Mar 25 11:51:20
Johann: Although monks are allowed to explain how to work oneself out, they are not given to liberate "slaves", prisoner, as this would count as thief.

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 7170 times)

0 Members and 1 Guest are viewing this topic.

Offline Moritz

  • Cief houskeeper / Chefhausmeister
  • Very Engaged Member
  • *
  • Sadhu! or +244/-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 +360/-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 +360/-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 +360/-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 +244/-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 +244/-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 +244/-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 +360/-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 +360/-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 +360/-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 +360/-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 +360/-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 +244/-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 +360/-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 +244/-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: