Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2015-08-13 (1 year ago) ![]() | Not enough user ratings | Total: 146 This week: 1 | All time: 8,195 This week: 1,047![]() |
Version | License | PHP version | Categories | |||
sl5-preg-finder 1 | GNU General Publi... | 5.0 | PHP 5, Text processing |
Description | Author | |||||||||||||
This class can find and replace content using regular expression. |
|
a PHP Template Engine class using Perl Compatible Regular Expressions (PCRE)
See complete examples inside example folder or inside the tests folder. :)
Example source conversion :
<pre> a{b{B}}
==>
a[b[B]] </pre> ______________________
Example source conversion : <pre> if(X1){$X1;if(X2){$X2;}}
==>
if(X1)[ ..$X1;if(X2)[ ....$X2; ..] ] </pre> HowTo config conversion for this last example:
$old_open = '{'; $old_close = '}'; $new_open_default = '['; $new_close_default = ']'; $charSpace = "."; $newline = "\r\n"; $indentSize = 2;
now simply start conversion. BTW optional you could use regular expressions and much more. or you could use your own callback function. enjoy :)
try regular expressions online. for example here: https://regex101.com/
______________________
Example source conversion : <pre> a{b{B}}
==>
a 1|[ 1:..b 2|..[ 2:....B 2:..] 1:] </pre> ______________________
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
Lic. | License | ||
![]() |
Lic. | License | ||
![]() |
Doc. | Auxiliary data | ||
![]() |
Class | Class source |
![]() |
/ | examples | / | AutoHotKey |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
Aux. | Example script | ||
![]() |
Data | Auxiliary data | ||
![]() |
Data | Auxiliary data | ||
![]() |
Data | Auxiliary data | ||
![]() |
Data | Auxiliary data | ||
![]() |
Example | Unit test script | ||
![]() |
Data | Auxiliary data |
![]() |
/ | examples | / | AutoHotKey | / | js |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
![]() |
/ | examples | / | AutoHotKey | / | js | / | Garlic |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
Data | Auxiliary data | ||
![]() |
Data | Auxiliary data | ||
![]() |
Data | Auxiliary data | ||
![]() |
Data | Auxiliary data | ||
![]() |
Data | Auxiliary data | ||
![]() |
Doc. | Documentation | ||
![]() |
Data | Auxiliary data | ||
![]() |
Data | Auxiliary data |
![]() |
/ | examples | / | AutoHotKey | / | js | / | Garlic | / | bin |
File | Role | Description |
---|---|---|
![]() |
Data | Auxiliary data |
![]() |
Data | Auxiliary data |
![]() |
Data | Auxiliary data |
![]() |
/ | examples | / | AutoHotKey | / | js | / | Garlic | / | dist |
File | Role | Description |
---|---|---|
![]() |
Data | Auxiliary data |
![]() |
Data | Auxiliary data |
![]() |
/ | examples | / | AutoHotKey | / | js | / | Garlic | / | resources |
File | Role | Description |
---|---|---|
![]() |
Data | Auxiliary data |
![]() |
Icon | Icon image |
![]() |
Data | Auxiliary data |
![]() |
/ | examples | / | AutoHotKey | / | js | / | Garlic | / | tests |
File | Role | Description |
---|---|---|
![]() |
Data | Auxiliary data |
![]() |
Data | Documentation |
![]() |
Data | Auxiliary data |
![]() |
Data | Auxiliary data |
![]() |
Data | Auxiliary data |
![]() |
/ | examples | / | AutoHotKey | / | js | / | highlighter-ahk-zenburn-master |
![]() |
/ | examples | / | AutoHotKey | / | js | / | highlighter-ahk-zenburn-master | / | scripts |
File | Role | Description |
---|---|---|
![]() |
Data | Auxiliary data |
![]() |
Data | Auxiliary data |
![]() |
/ | examples | / | AutoHotKey | / | js | / | highlighter-ahk-zenburn-master | / | storage |
File | Role | Description |
---|---|---|
![]() |
Data | Documentation |
![]() |
Data | Auxiliary data |
![]() |
Icon | Icon image |
![]() |
/ | examples | / | AutoHotKey | / | js | / | highlighter-ahk-zenburn-master | / | styles |
File | Role | Description |
---|---|---|
![]() |
Data | Auxiliary data |
![]() |
Data | Auxiliary data |
![]() |
Data | Auxiliary data |
![]() |
/ | tests |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
Test | Unit test script |
![]() |
/ | tests | / | PHPUnit |
File | Role | Description |
---|---|---|
![]() |
Test | Unit test script |
![]() |
Test | Unit test script |
![]() |
Doc. | Documentation |
![]() |
Test | Unit test script |
![]() |
Test | Unit test script |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.