posix-ere Questions

2

I am trying to create a regular expression using POSIX (Extended) Regular Expressions that I can use in my C program code. Specifically, I have come up with the following, however, I want to exclud...
Scandium asked 13/3, 2013 at 5:5

4

Solved

I'm getting the following message for some php I have to use but did not write: Deprecated: Function ereg() is deprecated in /opt/lampp/htdocs/webEchange/SiteWeb_V5/inc/html2fpdf.php on line 466 ...
Benham asked 7/2, 2010 at 18:51

1

Solved

I thought that in regular expressions, the "greediness" applies to quantifiers rather than matches as a whole. However, I observe that grep -E --color=auto 'a+(ab)?' <(printf "aab") returns ...
Desiderative asked 2/12, 2019 at 11:14

6

Solved

The PHP manual for split() says This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged...Use explode() instead. But I can't find a difference betwe...
Defrock asked 4/9, 2010 at 5:6

5

Solved

I noticed that vim's substitute regex is a bit different from other regexp. What's the difference between them?
Vagabondage asked 5/10, 2010 at 14:12

4

Solved

I'm sorry to ask a question but I am useless when it comes to understanding regex code. In a php module that I didn't write is the following function function isURL($url = NULL) { if($url=...
Lennalennard asked 31/3, 2012 at 7:47

1

Solved

Consider the following commands: text <- "abcdEEEEfg" sub("c.+?E", "###", text) # [1] "ab###EEEfg" <<< OKAY sub("c(.+?)E", "###", text) # [1] "ab###EEfg" <<< WEIRD sub("c(.+?...
Adorno asked 26/2, 2014 at 23:45

3

Solved

How can I convert ereg_replace(".*\.(.*)$","\\1",$imgfile); to preg_replace... ? ? I'm having trouble with it?
Lemuel asked 14/3, 2010 at 21:44

4

Solved

I have the following statement which worked fine before PHP 5.3 using the split function: list($year, $month, $day, $hour, $min, $sec) = split( '[: -]', $post_timestamp ); After upgrading to PHP...
Fractostratus asked 10/8, 2010 at 22:18

3

Solved

I would like to use a regular expression like this in Java : [[=a=][=e=][=i=]]. But Java doesn't support the POSIX classes [=a=], [=e=] etc. How can I do this? More precisely, is there a way to n...
Lois asked 7/7, 2011 at 15:12

5

Solved

I have noticed in the PHP regex library there is a choice between ereg and preg. What is the difference? Is one faster than the other and if so, why isn't the slower one deprecated? Are there any ...
Burned asked 1/9, 2009 at 9:57

2

Solved

Possible Duplicate: How can I convert ereg expressions to preg in PHP? I need help, below is a small VERY basic regex to somewhat validate an email, I do realize it does not work the ...
Kirksey asked 3/9, 2009 at 17:42
1

© 2022 - 2024 — McMap. All rights reserved.