Article View: pl.comp.lang.php
Article #232264Re: regexp i preg_match_all
From: Jivanmukta
Date: Tue, 10 Sep 2019 18:24
Date: Tue, 10 Sep 2019 18:24
6 lines
1198 bytes
1198 bytes
Mam jeszcze jedno pytanie: Potrzebuję dla stringu " REGION_ID . ' ' . // mazowieckie" wydobyć stałą REGION_ID. Użyłem wyrażenia regularnego: [^\$]([A-Z_][A-Z0-9_]*) ale jest źle bo dostaję "EGION_ID". Jakim wyrażeniem wydobywać stałe?
Technical Details
Message-ID:
<ql8poh$3log7$1@portraits.wsisiz.edu.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!wsisiz.edu.pl!.POSTED.user-94-254-233-89.play-internet.pl!not-for-mailReferences:
<q4pgvm$195q8$1@portraits.wsisiz.edu.pl> <1ezuqyf495vtd$.arxqm4nq5gre.dlg@40tude.net>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!wsisiz.edu.pl!.POSTED.user-94-254-233-89.play-internet.pl!not-for-mail From: Jivanmukta <jivanmukta@poczta.onet.pl> Newsgroups: pl.comp.lang.php Subject: Re: regexp i preg_match_all Date: Tue, 10 Sep 2019 20:24:15 +0200 Organization: http://www.wit.edu.pl Message-ID: <ql8poh$3log7$1@portraits.wsisiz.edu.pl> References: <q4pgvm$195q8$1@portraits.wsisiz.edu.pl> <1ezuqyf495vtd$.arxqm4nq5gre.dlg@40tude.net> Mime-Version: 1.0 Injection-Date: Tue, 10 Sep 2019 18:24:17 -0000 (UTC) Injection-Info: portraits.wsisiz.edu.pl; posting-host="user-94-254-233-89.play-internet.pl:94.254.233.89"; logging-data="3858951"; mail-complaints-to="abuse@wsisiz.edu.pl" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 In-Reply-To: <1ezuqyf495vtd$.arxqm4nq5gre.dlg@40tude.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit