DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:searchpattern

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:searchpattern [2013-06-17 15:37] – [SearchPattern Plugin] 202.63.107.18plugin:searchpattern [2024-03-29 12:24] (current) – [SearchPattern Plugin] 87.174.165.192
Line 1: Line 1:
-All Deals in Washington DC+====== SearchPattern Plugin ======
  
- Are you Disappointed with the pricing of beauty services?? Searching or waiting for any offers or deals to save some money… No need to look any more. New Look deals is providing the All deals at low price when compared with the market. Every day New deals are waiting for you at your door step through our web point with ‘upto 90%’ off on different services and products. We at present introduced ourselves with beauty services.  +---- plugin ---- 
- Our wide ranges of deals are segregated into 3 modules named as Daily deals, Same day deals ,all deals and Product deals. The name itself represents the way of that deal. Same day deals is the deal for current offered day and daily deals will last for certain time, whereas product deals resembles with daily deals which totally covers the product base offers. At present we are Incorporated with Virginia best spa “New Look Day Spa and Laser”, which has been elected as “Best of Herndon award” for two consecutive years in the beauty salons category by the U.S commerce association (USCA) and placed bench mark of its own with their services. To make their Customer smile more bright they stepped into this deals with us and offering their services at low price. Our team is in chase of more best service providing spa’s which satisfy the consumer need and our wings are stretched to take care and to overcome the disturbances.  +description: Search specified pattern inside wiki pages (standard or regex) and display the results as table inside a wiki page 
-In our opinion Beauty is the thing which makes you to represent at your bestInner beauty makes your character high and if it is at pars with your appearance then it makes you impeccable. Majorly beauty play’s a vital role for woman. We all know a woman who doesn’t come out without make-up.  +author     : Matthieu Rioteau; Leo Eibler 
- +email      : matthieu<dot>rioteau<at>skf<dot>com; dokuwiki@sprossenwanne.at 
-At present we offers best discount on below deals: +type       SyntaxAdmin 
-• Eyebrow ThreadingDermalogica / Herbal Facial and Diamond Dermabrasion (Up to 55% Off) +lastupdate : 2013-06-16 
-o Herbal Facial (Shahnaz Advance) or Dermalogica Power Facial +compatible : LemmingAnteaterRincewindAnguaAdora BelleWeatherwaxBinkyPonder StibbonsHrunDetritusElenor of TsortFrusterick Manners, Greebo!Hogfather!Kaos 
-o 10 Eye Brow Threading +depends    :  
-o Diamond Dermabrasion +conflicts  :  
-o 10 Full Face Threading +similar    :  
-• One Full Body Laser Hair Removal with Gentle Max Pro (Up to 85% Off) +tags       : search, pattern, searchpattern 
-• Six Laser Hair Removal Treatments on SmallMediumLarge and Extra Large Area's (UP to 83% Off) +downloadurl : http://www.eibler.at/dokuwiki-todo/download/dokuwiki-searchpattern_latest.zip 
-o 10 Full Face Threading +----
-o Six Laser Hair Removal Treatments on Medium Area’s +
-o Six Laser Hair Removal Treatments on Large Area’s +
-o Six Laser Hair Removal Treatments on Extra Large Area’s +
- +
- We take care of the every deal related information totally and helps to avail the service at ease by the guidelines. Specific care is taken for your information and we avoid it from malfunctioning or misusing. We are tied up with all security norms and we are ready to feed you with flawless deals. As we all know Internet is rife with dealschoosing the best makes you better and shop online to save some money and lots of time.  +
-deals in Washington DCbest online dealsdaily dealsdaily deals at New Look Dealsbest online deals at New Look DealsDeals in Washington DC at New Look Dealsall dealsProduct dealssame day deals all deals at New Look Dealsbest pricesdeals in herndon +
- +
-For More  Details Please visit our Website  +
-https://www.newlookdeals.com/alldeals/washington-dc/ +
-Communication Address: +
-201 Elden Street,Suite # 203, Herndon, VA , 20170 +
-Our customer service is pinned at : customerservice@newlookdeals.com+
  
 ===== Information ===== ===== Information =====
  
-Ver. //2013-06-16c// of SearchPattern plugin has been released. Now the regex mode has a new option to output the specified or all matches and the plugin can call a handler method of other plugins for outputting the matches. A new option allows you to hide the table headline with search options (e.g. regex code) in result table. Bugfixed french translation and bad-option settings. \\+Ver. //2013-06-16c// of SearchPattern plugin has been released. Now the regex mode has a new option to output the specified or all matches and the plugin can call a handler method of other plugins for outputting the matches. A new admin option 'dispheadl' allows you to hide the table headline with search options (e.g. regex code) in result table. Bugfixed french translation and bad-option settings. \\
 This is used in the new version 2013-04-13 of the [[plugin:todo|Todo Plugin]]. \\ This is used in the new version 2013-04-13 of the [[plugin:todo|Todo Plugin]]. \\
 **Update Instructions:** The version //2013-06-16b// is fully compatible to the previous versions, so an update to newest version should have no impact to older functionality (an update needs no additional configuration steps). **Update Instructions:** The version //2013-06-16b// is fully compatible to the previous versions, so an update to newest version should have no impact to older functionality (an update needs no additional configuration steps).
Line 48: Line 36:
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the following URL. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ^ Download latest release | [[http://www.eibler.at/dokuwiki-todo/download/dokuwiki-searchpattern_latest.zip | Latest release 2013-06-16c]] | ^ Download latest release | [[http://www.eibler.at/dokuwiki-todo/download/dokuwiki-searchpattern_latest.zip | Latest release 2013-06-16c]] |
Line 351: Line 339:
   - <del>Implement custom handler method mechanism to use other plugins for output</del>  --- by [[user>leibler]] //v2013-04-11//    - <del>Implement custom handler method mechanism to use other plugins for output</del>  --- by [[user>leibler]] //v2013-04-11// 
   - <del>Integration with [[plugin:todo|Todo]] plugin</del>  --- by [[user>leibler]] //v2013-04-11//    - <del>Integration with [[plugin:todo|Todo]] plugin</del>  --- by [[user>leibler]] //v2013-04-11// 
 +  - <del>Documentation: Hi leibler, you mention "A new option allows you to hide the table headline with search options (e.g. regex code) in result table". Please state the name of the option, I'd like to use it in a general regex (no '_' plugin). -tw_bert-</del> --- please use the admin menu configuration setting "dispheadl" - a specific handler can overrule this setting because it has full control over the output. I modified the description to clarify. by [[user>leibler]] //v2014-02-02// 
 +  - Format a string using different colors following a regex like: (?<=^[A-Z]{2}\|{1})(?=([0-9]*)), text: RA|10556|8|3^4, to color the second field 
 + 
 ===== Discussions ===== ===== Discussions =====
  
Line 411: Line 401:
 > Could you post your exact call line to searchpattern as well as error message (either the one displayed in the browser or the one displayed on PHP log) ? - MR - > Could you post your exact call line to searchpattern as well as error message (either the one displayed in the browser or the one displayed on PHP log) ? - MR -
 >> Hi Anton, I fixed this bug for former release branch in version 0.2b. I'll tell Leo about the bug and he will probably do the same for newer version. Bye. -MR- >> Hi Anton, I fixed this bug for former release branch in version 0.2b. I'll tell Leo about the bug and he will probably do the same for newer version. Bye. -MR-
 +
 +Hi
 +How to exclude some result in a regex request ?
 +for exemple I want with the todo pluging to have all todo exept assigned todos ?
 +Thanks for this usefull pluging :-D
 +Doumé
 +
 +Hi,\\
 +in my Wiki, the searchpattern-plugin (and therfore the todolist) doesn't function. I tried with the command ''~~SEARCHPATTERN#'/<todo[^#>]*>.*?<\/todo[\W]*?>/'?? _ToDo ??~~''. Instead of any result, I get the error message ''Fatal error: no such method _searchpatternHandler in E:\xampp\htdocs\dokuwiki\inc\plugin.php on line 258''. What goes wrong?\\
 +Best regards, Juergen
 +
 +Hi,\\
 +My wiki crashed with a blank screen on entry & loss of all files when looking at it with cpanel or filezilla. This was during an attempt to upgrade from Greebo to Hogfather. While rebuilding from scratch it crashed again as I installed SearchPattern plugin, this time with failure to load login. It worked again after I deleted the searchpattern subdir from lib/plugins. I  don't have any idea what is going on but I'm thinking that SearchPattern introduced some fatal condition.
 +
 +I can see that making SearchPattern involved a lot of work, and I really would like a regex capability.  maybe I'll try to install it some later time. //---<<willsteward2016@gmail.com>> 2020.08.26//
 +
 +----
 +As WillSteward posted I also get a non functioning wiki when installing the plugin.  I've tried on two different instances and get the same error although both instances have similar plugins so I've not yet ruled out if there is a clash with another plugin.
 +
 +The error I get is : 
 +
 +''dokuwiki\Exception\FatalException: Declaration of syntax_plugin_searchpattern::handle($match, $state, $pos, &$handler) must be compatible with dokuwiki\Extension\SyntaxPlugin::handle($match, $state, $pos, Doku_Handler $handler)
 +An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the searchpattern plugin.
 +
 +More info has been written to the DokuWiki error log.''
 +
 +This is in a big banner at the top of the page with no other text showing.  It happens on all pages, whether or not they contain the markup for the plugin.  Deleting the plugin folder restores a working wiki.  2022-09-29
 +
 +Hi !
 +
 +I also use //searchparttern//, but some corrections are required to make it works with Dokuwiki Hogfather, Igor and also PHP 8.1.
 +
 +  * **Line 255** :
 +    * Replace ''function handle($match, $state, $pos, &$handler){''
 +    * with : ''function handle($match, $state, $pos, Doku_Handler $handler){''
 +  * **Line 373** :
 +    * Replace : ''function render($format, &$renderer, $data) {''
 +    * With : ''function render($format, Doku_Renderer $renderer, $data) {''
 +  * **Line 379**((PHP 8.1 compatibility)) :
 +    * Replace : ''search($wikidata, $conf['datadir'], search_pattern, $data);''
 +    * With : ''search($wikidata, $conf['datadir'], 'search_pattern', $data);''
 +  * **Line 393** ::
 +    * Replace : ''function report($data, &$renderer, $params){''
 +    * With : ''function report($data, Doku_Renderer $renderer, $params){''
 +
 +//By reading these discussions, I've just discovered [[plugin:pagequery]] plugin, gona try it soon :) !//
 +
 + --- [[user>chtiland|chtiland]] //2023-03-05 16:30//
plugin/searchpattern.1371476245.txt.gz · Last modified: 2013-06-17 15:37 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki