escaping some characters in articles - how?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
empiryk
Posts: 33
Joined: Tue Feb 04, 2003 6:18 pm
Location: Cracow - Poland
Contact:

escaping some characters in articles - how?

Post by empiryk »

I use in my instance of FAQ many examples of code - especially regexp codes. Question: how can I preserve in FAQ some characters from regexp - eg. "\" and simmiliar?
The Bat! Polish Support http://thebat.pl
[ I apologise for my poor english ;> ]
Thorsten
Posts: 15568
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

hm, this is difficult. For the "\" you can use "\\"... do you have an example for me to test this?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
empiryk
Posts: 33
Joined: Tue Feb 04, 2003 6:18 pm
Location: Cracow - Poland
Contact:

Post by empiryk »

Thorsten wrote: do you have an example for me to test this?
http://www.thebat.pl/faq/index.php?sid= ... =2&lang=pl
this regexp should look like this:
http://www.thebat.pl/porady.php?id=3&c=1
... there shoul be "\s"
The Bat! Polish Support http://thebat.pl
[ I apologise for my poor english ;> ]
Thorsten
Posts: 15568
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

okay, I'll look for a solution to solve this problem.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
empiryk
Posts: 33
Joined: Tue Feb 04, 2003 6:18 pm
Location: Cracow - Poland
Contact:

Post by empiryk »

Thorsten wrote:okay, I'll look for a solution to solve this problem
Maybe here lays solution:
http://empiryk.republika.pl/ent.txt
:?:
The Bat! Polish Support http://thebat.pl
[ I apologise for my poor english ;> ]
Post Reply