Recent Topics

[Today at 02:45:28 PM]

[Today at 12:21:34 PM]

[December 08, 2019, 08:48:43 PM]

[December 07, 2019, 11:14:25 PM]

[December 07, 2019, 01:13:31 PM]

[December 07, 2019, 10:24:32 AM]

[December 05, 2019, 10:50:04 PM]

[December 05, 2019, 05:28:11 PM]

[December 05, 2019, 08:40:12 AM]

[December 04, 2019, 09:25:08 PM]

[December 04, 2019, 12:12:59 PM]

[December 04, 2019, 06:37:47 AM]

[December 04, 2019, 06:16:24 AM]

[December 03, 2019, 03:28:54 PM]

[December 03, 2019, 07:13:50 AM]

[December 02, 2019, 09:36:26 AM]

[December 02, 2019, 12:39:57 AM]

[December 01, 2019, 06:25:08 PM]

[November 30, 2019, 10:07:34 PM]

[November 30, 2019, 02:05:37 PM]

[November 29, 2019, 04:46:00 PM]

[November 29, 2019, 04:44:52 PM]

[November 29, 2019, 09:07:21 AM]

[November 28, 2019, 02:40:26 PM]

[November 28, 2019, 01:47:24 PM]

[November 28, 2019, 12:14:37 PM]

[November 27, 2019, 11:02:31 PM]

[November 27, 2019, 06:30:09 AM]

[November 26, 2019, 07:38:39 PM]

[November 26, 2019, 07:20:31 PM]

[November 26, 2019, 02:02:12 PM]

[November 26, 2019, 12:16:15 PM]

[November 26, 2019, 09:55:32 AM]

Talkbox

2019 Dec 10 12:01:52
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2019 Dec 10 11:21:08
Cheav Villa: Bhante  _/\_ _/\_ _/\_ the landowner would be off the gate way soon? _/\_ _/\_ _/\_

2019 Dec 10 11:11:11
Johann: Sokh chomreoun all

2019 Dec 10 11:08:18
Cheav Villa: Master Moritz _/\_

2019 Dec 10 11:08:02
Cheav Villa: Vandami Bhante _/\_ _/\_ _/\_

2019 Dec 10 10:48:07
Moritz: Bong Villa _/\_

2019 Dec 09 23:28:27
Vithou:  _/\_

2019 Dec 07 09:19:49
Chanroth:  _/\_ _/\_ _/\_

2019 Dec 05 09:56:53
Johann: sokh chomreoun, nyom

2019 Dec 05 09:56:09
Moritz: Taking leave. May Bhante dwell in good health _/\_ _/\_ _/\_

2019 Dec 05 09:46:00
Moritz: Vandami Bhante _/\_

2019 Dec 05 09:14:32
Cheav Villa:  :) _/\_

2019 Dec 05 08:09:04
Moritz: Bong Villa _/\_

2019 Dec 04 20:16:08
saddhamma:  _/\_Bhante Johann. Wishing you speedy recovery.

2019 Dec 04 07:35:06
Cheav Villa:  _/\_ _/\_ _/\_

2019 Dec 04 06:36:37
Moritz: Chom reap leah _/\_

2019 Dec 04 06:32:33
Johann: Sadhu

2019 Dec 04 06:31:50
Johann: Sokh chomreoun, Nyom (May welbeing increase)

2019 Dec 04 06:31:50
Moritz: May all spend a good Uposatha _/\_

2019 Dec 04 06:31:42
Khemakumara: May all have a path- and fruiful Uposatha

2019 Dec 04 06:31:34
Moritz: _/\_ _/\_ _/\_

2019 Dec 04 06:31:28
Moritz: Vandami Bhante Khemakumara _/\_

2019 Dec 04 06:08:13
Moritz: Vandami Bhante _/\_

2019 Dec 04 01:50:53
saddhamma: Āvuso Moritz _/\_

2019 Dec 04 01:15:40
Moritz: Bong Ebo _/\_

2019 Dec 01 13:29:37
Cheav Villa:  _/\_ _/\_ _/\_

2019 Nov 30 21:38:39
Johann: Nyom

2019 Nov 30 21:30:49
Cheav Villa: May Bhante get well soon _/\_ _/\_ _/\_

2019 Nov 30 19:04:39
Cheav Villa: Vandami Bhante Johann  _/\_ _/\_ _/\_ Bhante Khemakumara  _/\_ _/\_ _/\_

2019 Nov 30 17:34:10
Khemakumara: Nyom

2019 Nov 30 16:43:46
Johann: Bhante Ariyadhammika

2019 Nov 30 06:46:37
Khemakumara:  _/\_ _/\_ _/\_ Bhante

2019 Nov 29 20:24:07
Cheav Villa: Sadhu Sadhu Sadhu  _/\_ _/\_ _/\_

2019 Nov 29 18:59:11
Khemakumara:  _/\_ _/\_ _/\_ Sadhu Sadhu

2019 Nov 29 16:01:17
Johann: Ratana Sutta , and one more public.

2019 Nov 29 14:25:08
Cheav Villa:   _/\_ Yes, eveyone here got flu and almost everywhere..  :-\ :) _/\_

2019 Nov 29 14:19:23
Moritz: Sadhu _/\_ Yes, sickness very much present here as well.  :-\  :)

2019 Nov 29 14:18:08
Moritz: Vandami Bhante _/\_

2019 Nov 29 14:12:37
Johann: (May all and everyone get soon/quick free fom sickness) Sadhu

2019 Nov 29 14:07:13
Cheav Villa: សូមអោយអ្នកទាំងអស់គ្នាឆាប់ជាពីរោគា គ្រប់ៗគ្នា _/\_ _/\_ _/\_

2019 Nov 29 14:05:22
Cheav Villa: សូមអោយព្រះអង្គឆាប់ជាពីជម្ងឺផ្តាសាយ _/\_ _/\_ _/\_

2019 Nov 29 12:05:41
Cheav Villa:  _/\_

2019 Nov 29 11:51:15
Moritz: Bong Villa _/\_

2019 Nov 28 20:08:22
Johann:  _/\_ Bhante Ariyadhammika

2019 Nov 28 13:11:37
Johann: Bhante

2019 Nov 28 12:52:24
Khemakumara:  _/\_ _/\_ _/\_ Bhante

2019 Nov 27 23:19:47
Cheav Villa:  :) _/\_ _/\_ _/\_

2019 Nov 27 22:59:18
Khemakumara: Nyom

2019 Nov 27 10:20:04
Cheav Villa:  _/\_ _/\_ _/\_

2019 Nov 27 10:16:58
Khemakumara: May it be a path -and fruitful after-the-Newmoon-uposatha-day

2019 Nov 26 20:55:22
Johann: Meister Moritz

2019 Nov 26 19:35:55
Moritz: Vandami Bhante _/\_

2019 Nov 26 11:50:14
Johann:  _/\_ Bhante Ariyadhammika

2019 Nov 26 10:53:53
Cheav Villa: Sadhu Sadhu Sadhu  _/\_ _/\_ _/\_

2019 Nov 26 09:24:16
Johann: A blessed and united Newmoon uposatha all touchable and taking on it

2019 Nov 26 08:53:07
Cheav Villa:  :) _/\_ _/\_ _/\_

2019 Nov 26 00:07:54
Johann: Moi, moi, Nyom. Ma dom ma chumheang (Slowly, slowly... step by step) much joy in all good virtuous undertakings.

2019 Nov 25 23:46:46
Moritz: Chom reap leah _/\_ (many things to do...)

2019 Nov 25 23:28:18
Johann: Meister Moritz

2019 Nov 25 23:04:36
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2019 Nov 24 22:55:28
Johann: Nyom

2019 Nov 24 22:51:00
saddhamma: Bhante Johann _/\_ _/\_ _/\_

2019 Nov 24 16:27:57
Cheav Villa: Sadhu Sadhu Sadhu  _/\_ _/\_ _/\_

2019 Nov 24 16:01:25
Johann:  _/\_ Bhante Ariyadhammika

2019 Nov 24 13:04:02
Johann: May one not feel disturbed while my person might share merits in many different topics, as just possibility. Anumodana

2019 Nov 22 20:01:23
Cheav Villa: Vandami Bhante _/\_ _/\_ _/\_ Master Moritz _/\_

2019 Nov 22 19:49:34
Johann: talkbox isn't good for more then Abhivadana, hello... wishes, metta spreading, similar.

2019 Nov 22 19:47:27
Johann: Visitor, as well as Nyom Vivek, can write in topics, maybe start even one. It's, the issue, isn't understandable.

2019 Nov 22 19:40:12
Visitor: 2nd one is unrecoverable and unreachable(forgotten password)

2019 Nov 22 19:38:57
Visitor: 1st email id at the link is deleted

2019 Nov 22 19:33:19
Visitor: Wow! Mr. Mortiz ,so you are working as an Engineer. Might be algorithm over here can be of some use. It's very fast for a server to handle  ;-)  _/\_ buddhaya. https://github.com/Anonymousingly/URA

2019 Nov 22 18:21:55
Moritz: Chom reap leah _/\_ Trying to see how to set up new server. :) Would try to start topic about it soon, possibly taking some days still; now soon usual weekend nightshift work. _/\_

2019 Nov 22 18:18:46
Moritz: Bong Villa _/\_

2019 Nov 22 18:05:26
Johann: Nyom Moritz, Villa

2019 Nov 22 17:27:04
Moritz: Vandami Bhante _/\_

2019 Nov 22 06:39:52
Johann: Nyom Moritz

2019 Nov 22 06:39:22
Moritz: Vandami Bhante _/\_

2019 Nov 22 00:13:18
Vivek: Good Night All,Be happy, meditate in dreams too....from a former wanderer of other sects.

2019 Nov 21 23:40:42
Johann: Nyom Vivek

2019 Nov 21 21:59:49
Visitor: Oh! It worked. Vandami All.

2019 Nov 21 21:58:35
Visitor: Shout, shout, wow, wow,  :o :o *gift* *thumb*

2019 Nov 20 15:54:51
Cheav Villa: Sadhu Sadhu Sadhu  _/\_ _/\_ _/\_

2019 Nov 20 15:27:02
Johann: Nyom Villa

2019 Nov 20 14:18:59
Johann: A blessed Sila-day today, and may many take to possibility for services toward the tripple Gems while observing Silas.

2019 Nov 20 05:35:14
saddhamma: Avuso Moritz _/\_

2019 Nov 19 21:17:27
Cheav Villa:  :) _/\_

2019 Nov 19 19:13:02
Moritz: Upasaka Sadhamma _/\_

2019 Nov 19 19:12:54
Moritz: Bong Villa _/\_

2019 Nov 19 14:33:28
Johann: Ayasma Moritz

2019 Nov 19 14:18:50
Moritz: Mr. Vivek _/\_

2019 Nov 19 14:03:03
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2019 Nov 19 13:46:22
Moritz: Bong Villa _/\_

2019 Nov 19 07:36:38
Cheav Villa: Sadhu Sadhu Sadhu  _/\_ _/\_ _/\_

2019 Nov 19 05:28:18
Johann: Being caught in relating, may they find the trace toward Unbond with ease and follow it eager for soon release.

2019 Nov 19 05:25:03
Johann: A meritful, joyful in Dhamma, Sila day today, those undertaking it today.

2019 Nov 18 05:41:01
Moritz: Chom reap leah, for now _/\_ May Bhante have a pleasent day. _/\_

2019 Nov 18 05:22:11
Johann: Nyom Moritz

2019 Nov 18 05:20:39
Moritz: Vandami Bhante _/\_

2019 Nov 16 21:59:56
Moritz: Vandami Bhante _/\_ _/\_ _/\_

2019 Nov 16 20:43:25
Johann: Ayasma Moritz

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]

Dear Visitor!

Herzlich Willkommen auf sangham.net! Welcome to sangham.net!
Ehrenwerter Gast, fühlen sie sich willkommen!

Sie können sich gerne auch unangemeldet an jeder Diskussion beteiligen und eine Antwort posten. Auch ist es Ihnen möglich, ein Post oder ein Thema an die Moderatoren zu melden, sei es nun, um ein Lob auszusprechen oder um zu tadeln. Beides ist willkommen, wenn es gut gemeint und umsichtig ist. Lesen Sie mehr dazu im Beitrag: Melden/Kommentieren von Postings für Gäste
Sie können sich aber auch jederzeit anmelden oder sich via Email einladen und anmelden lassen oder als "Visitor" einloggen, und damit stehen Ihnen noch viel mehr Möglichkeiten frei. Nutzen Sie auch die Möglichkeit einen Segen auszusprechen oder ein Räucherstäbchen anzuzünden und wir freuen uns, wenn Sie sich auch als Besucher kurz vorstellen oder Hallo sagen .
Wir wünschen viel Freude beim Nutzen und Entdecken des Forums mit all seinen nützlichen Möglichkeiten .
 
Wählen Sie Ihre bevorzugte Sprache rechts oben neben dem Suchfenster.

Wähle Sprache / Choose Language / เลือก ภาษา / ជ្រើសយកភាសា: ^ ^
 Venerated Visitor, feel heartily welcome!
You are able to participate in discussions and post even without registration. You are also able to report a post or topic to the moderators, may it be praise or a rebuke. Both is welcome if it is meant with good will and care. Read more about it within the post: Report/comment posts for guests
But you can also register any time or get invited and registered in the way to request via Email , or log in as "Visitor". If you are logged in you will have more additional possibilities. Please feel free to use the possibility to  give a blessing or light an incent stick and we are honored if you introduce yourself or say "Hello" even if you are on a short visit.
We wish you much joy in using and exploring the forum with all its useful possibilities  
Choose your preferred language on the right top corner next to the search window!

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

0 Members and 1 Guest are viewing this topic.

Offline Moritz

  • Cief houskeeper / Chefhausmeister
  • Very Engaged Member
  • *
  • Sadhu! or +260/-0
  • Gender: Male
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #15 on: July 01, 2018, 09: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 +369/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #16 on: July 01, 2018, 09: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 +369/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #17 on: July 02, 2018, 07: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 +369/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #18 on: July 02, 2018, 03:44:52 PM »
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, 04:55:41 PM 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 +260/-0
  • Gender: Male
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #19 on: July 02, 2018, 07: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 +260/-0
  • Gender: Male
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #20 on: July 02, 2018, 07: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 +260/-0
  • Gender: Male
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #21 on: July 02, 2018, 08: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 +369/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #22 on: July 02, 2018, 09: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, 09: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 +369/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] ATI/ZzE Content-style
« Reply #23 on: July 02, 2018, 09: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 +369/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #24 on: July 26, 2018, 05: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 +369/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #25 on: August 12, 2018, 08: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, 08: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 +369/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
strange error
« Reply #26 on: August 15, 2018, 04:16:51 PM »
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 +260/-0
  • Gender: Male
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #27 on: August 17, 2018, 05: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 +369/-0
  • Gender: Male
  • Date of ordination/Datum der Ordination.: 20140527
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #28 on: August 17, 2018, 07: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 +260/-0
  • Gender: Male
Re: [ATI.eu] Replacement, regex issues (Content styling)
« Reply #29 on: September 06, 2018, 04:39:30 AM »
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 06, 2018, 04:44:47 AM by Moritz »

Tags: