|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18306 Replace [a-z]
Submitted: 2002-07-12 07:55 UTC Modified: 2002-07-12 08:09 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: webmaster at webgrauen dot de Assigned:
Status: Not a bug Package: *Regular Expressions
PHP Version: 4.2.1 OS: Linux Apache1.3.23
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: webmaster at webgrauen dot de
New email:
PHP Version: OS:


 [2002-07-12 07:55 UTC] webmaster at webgrauen dot de
It works only with upercase letters.

This will replace letters in upper cases if you type more as 5 in a row(This do parse guestbook entries). But it dont work with lower cases.

$HTTP_POST_VARS[message]= preg_replace("/([A-Z]{5,})/","\t\t","$HTTP_POST_VARS[message]");


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-12 08:09 UTC]
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit

Thank you for your interest in PHP.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Sep 25 01:01:27 2023 UTC