Commit Graph

5 Commits

Author SHA1 Message Date
Th3G33k
182242d7c5
[pcre/en] fix domain name => protocol (#4902) 2024-04-19 23:05:39 -07:00
Boris Verkhovskiy
3e687f1a8c Remove leading and trailing empty lines in code blocks 2024-04-06 08:33:50 -07:00
carl
edcfd31759
Tweak markdown to properly render html 2019-09-20 14:12:41 +10:00
Chris54721
757d37aa1c [pcre] Fix examples, closes #3226 2018-10-23 23:05:09 +02:00
Sachin Divekar
d1216a4253 Add an example of trap command (#1826)
* Begin writing document for PCRE

Started writing learnxinyminutes document for PCRE to cover general purpose regular expressions. 
Added introduction and a couple of details.

* Change introductory example for regex

The old example was incorrect. It's replaced with a simple one.

* Add some more introductory text

* Add first example

* Added more example and a table for proper formatting

* Add few more examples

* Formatting

* Improve example

* Edit description of character classes

* Add a way to test regex

Add https://regex101.com/ web application to test the regex provided in example.

* Add example of trap command 

trap is a very important command to intercept a fatal signal, perform cleanup, and then exit gracefully. It needs an entry in this document.

Here a simple and most common example of using trap command i.e. cleanup upon receiving signal is added.

* Revert "Add example of trap command"

* Add an example of trap command

`trap` is a very important command to intercept a fatal signal, perform cleanup, and then exit gracefully. It needs an entry in this document.

Here a simple and most common example of using `trap` command i.e. cleanup upon receiving signal is added.
2016-06-26 14:38:05 +02:00