g.StdErrLog
OBF:1uha1v9q1tvn1zep1XXv8w1ugg
MD5:2a72dd47fe552bcdd07ace50e9047baf
Propertyregex ANT task generates output:
OBF:1uha1v9q1tvn1zep1XXv8w1ugg
My suspicion is Propertyregex output has a newline character as well,
because test_file.xml has the expected string along with the newline
char
@25148ms
to org.eclipse.jetty.util.log.StdErrLog
OBF:1uha1v9q1tvn1zep1XXv8w1ugg
MD5:2a72dd47fe552bcdd07ace50e9047baf
Propertyregex ANT task generates output:
OBF:1uha1v9q1tvn1zep1XXv8w1ugg
My suspicion is Propertyregex output has a newline character as well,
because test_file.xml has the
Thanks Klaus Malorny!!
It's Working for me,i was struggling since 3 last days u saved my lot's of
time!!..Thank you very much!!
--
View this message in context:
http://ant.1045680.n5.nabble.com/propertyregex-Extraction-of-last-element-in-the-PATH-tp5109384p51
On 02/01/12 05:43, narenvudugu wrote:
Please Find updated Post!
I am trying to allow complete incoming input and extract last element name
from the input ServiceURL path (usaly separated by /),please find below
script which is not working for me...please help as soon as
possible.
/hello/world/etc
--
View this message in context:
http://ant.1045680.n5.nabble.com/propertyregex-Extraction-of-last-element-in-the-PATH-tp5109384p5114022.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
To
soon as
possible.
**
Thanks in Advance
--
View this message in context:
http://ant.1045680.n5.nabble.com/propertyregex-Extraction-of-last-element-in-the-PATH-tp5109384p5109384.html
Sent from the Ant - Users mailing list archive at Nabble.com.
Scot P. Floess RHCT (Certificate
27;d probably benefit from reading up on
> Java regular expression syntax.
>
>
>
>
>
>regexp="([^/]+)" select="\0" casesensitive="false" />
>
>
>
> --
> Michael Ludwig
>
> -
Andy2008 schrieb am 22.06.2010 um 17:17 (-0700):
>
> Here's my input
>
> abc/long/distance
>
> I want to get abc back. Here's my code
>
>input="${input}"
> regexp="(.*)/*"
> select="\0"
> casesensitive="false" />
>
> but I got back the
Try select="\1"
On Tue, 22 Jun 2010, Andy2008 wrote:
Here's my input
abc/long/distance
I want to get abc back. Here's my code
but I got back the whole string (abc/long/distance)
Do you have any ideas?
Thanks
--
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home
Here's my input
abc/long/distance
I want to get abc back. Here's my code
but I got back the whole string (abc/long/distance)
Do you have any ideas?
Thanks
--
View this message in context:
http://old.nabble.com/propertyregex-question-tp28966275p28966275.html
Sent from the A
first
> pair
> of parentheses, it's "\1".
>
> Here's a document I created to explain regular expressions: <
> http://dl.dropbox.com/u/433257/Regular_Expressions.doc>
>
> On Thu, Apr 15, 2010 at 8:18 PM, Andy2008 wrote:
>
>>
>&
ere's a document I created to explain regular expressions: <
http://dl.dropbox.com/u/433257/Regular_Expressions.doc>
On Thu, Apr 15, 2010 at 8:18 PM, Andy2008 wrote:
Here's my input
dev-abc.com:8001
I want abc.com:8001 back. Below is my propertyregex
but ${url} returns
ox.com/u/433257/Regular_Expressions.doc>
On Thu, Apr 15, 2010 at 8:18 PM, Andy2008 wrote:
>
> Here's my input
>
> dev-abc.com:8001
>
> I want abc.com:8001 back. Below is my propertyregex
>
> input="dev-abc.com:8001"
>reg
You might try wrapping the * in parens like
Honestly, didn't try this - went back to look at some examples I've done
in the past
On Thu, 15 Apr 2010, Andy2008 wrote:
Here's my input
dev-abc.com:8001
I want abc.com:8001 back. Below is my propertyregex
but ${url} ret
Here's my input
dev-abc.com:8001
I want abc.com:8001 back. Below is my propertyregex
but ${url} returns \1
Do you have any ideas?
--
View this message in context:
http://old.nabble.com/PropertyRegex-help-tp28261946p28261946.html
Sent from the Ant - Users mailing list archi
Hi,
as Jan and Stefan already stated the {5} in the first goup
is wrong.
Notice you may write \d instead of [0-9], so =
will do the job.
btw. if the ${date} comes from a tstamp task, you
don't need the propertyregex stuff at all, f.e. =
will give you =
[echo] ${date} == 20
On Tue, 2 Sep 2008, Yannick Feuzet <[EMAIL PROTECTED]> wrote:
> I want to attain the following String manipulation:
>
> 200802 2008/02
>
> ich wrote the followinfg code bat is not working. Can somebody help
> me. Thanks
>
> input="${date}" // 200802
>
regexp="([0-9]{5})([0-9]{2})" replace="\1/\2"
The first group has 4 not 5 characters.
Jan
-Ursprüngliche Nachricht-
Von: Yannick Feuzet [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 2. September 2008 14:38
An: user@ant.apache.org
Betreff: propertyregex
Hello al
Hello all,
I want to attain the following String manipulation:
200802 2008/02
ich wrote the followinfg code bat is not working. Can somebody help me. Thanks
${adjustedDate} why
Thanks
_
Appelez vos amis de PC à PC -- C
Scot & Bill, many thanks, that did the trick perfectly.
-Original Message-
From: Scot P. Floess [mailto:[EMAIL PROTECTED]
Sent: vrijdag 10 november 2006 17:36
To: Ant Users List
Subject: Re: propertyregex regexp construct question
Rémon:
Set regexp = "([^-]+)-([^-]+)(-(.
:[EMAIL PROTECTED]
Sent: Friday, November 10, 2006 7:56 AM
To: Ant Users List
Subject: propertyregex regexp construct question
Hi
I want to use the propertyregex (ant-contrib) to lean up a string:
PCS-VARIABLEAPPNAME-2.8.3-85
Basically I want to strip all until the second '-', so that
Rémon:
Set regexp = "([^-]+)-([^-]+)(-(.*))"
and select = "\3"
This assumes a pattern where you have some chars, a dash, some more
chars and then a final dash...
Scot
Rémon van Gijn wrote:
Hi
I want to use the propertyregex (ant-contrib) to lean up a string:
PCS-VARI
Hi
I want to use the propertyregex (ant-contrib) to lean up a string:
PCS-VARIABLEAPPNAME-2.8.3-85
Basically I want to strip all until the second '-', so that '-2.8.3-85' remains.
Could anyone give me a hand with the regexp and selec
select the rest of the string.
>
> HTH Bill
>
> -Original Message-
> From: Mark Lybarger [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 02, 2006 8:11 AM
> To: user@ant.apache.org
> Subject: propertyregex
>
> i want to set a property using propertyre
ay, March 02, 2006 8:11 AM
To: user@ant.apache.org
Subject: propertyregex
i want to set a property using propertyregex from ant-contrib. i'm not a
regex expert/novice.
here's my string:
Sticky Tag: REL_1_0 (branch: 1.3.2)
I'd like to extract the REL_1_0 (third word, or wo
i want to set a property using propertyregex from ant-contrib. i'm not
a regex expert/novice.
here's my string:
Sticky Tag: REL_1_0 (branch: 1.3.2)
I'd like to extract the REL_1_0 (third word, or word after Sticky
Tag:) to a property. some help with the regexp of it wo
You can use
cho] foo = blah/blubber/foo
[echo] FOO =
[A-Z][A-Z][A-Z][A-Z]/[A-Z][A-Z][A-Z][A-Z][A-Z][A-Z][A-Z]/[A-Z][A-Z][A-Z]
Is case conversion possible with the propertyregex task from ant-contrib? If
so, which adjustments do I have to make?
Any help is greatly appreciated!
Greetings,
Matt Benson wrote:
propertyregex is an ant-contrib question, really, and
Is there another list more appropriate for ant-contrib?
you seem to be trying to use nested elements where
propertyregex doesn't appear to want any, but you
basically want to match "^(.*)Bean$" and r
propertyregex is an ant-contrib question, really, and
you seem to be trying to use nested elements where
propertyregex doesn't appear to want any, but you
basically want to match "^(.*)Bean$" and replace with
"\1".
HTH,
Matt
--- Nat Gross <[EMAIL PROTECTED]>
wrote:
Hi;
To a regex newbie can someone please supply the pattern to strip off the
word "Bean" from the string.
In the following, assuming that property 'beanName' contains a string
'AnyBean',
the new 'beanPrefix' property should be 'Any'. (By convention, the
substring 'Bean' is always at the end of
> From: Marcel Stör [mailto:[EMAIL PROTECTED]
>
> [EMAIL PROTECTED] wrote:
> > not tried:
>
> I did. Works fine. Thanks a lot.
>
> > match: (.*)\.(.*)\.(.*)\.(.*)
> > select: \1 my
> > \2 property
> > \3 56238912
> > \4 1285
> > but without check for digits or length.
Not tried either, but this
[EMAIL PROTECTED] wrote:
> not tried:
I did. Works fine. Thanks a lot.
> match: (.*)\.(.*)\.(.*)\.(.*)
> select: \1 my
> \2 property
> \3 56238912
> \4 1285
> but without check for digits or length.
Marcel
-
To unsubscribe, e-m
sendet am: Donnerstag, 21. Oktober 2004 08:26
> An: [EMAIL PROTECTED]
> Betreff: [Ant-Contrib]PropertyRegex task
>
> Hi all,
>
> I'm struggleing with the PropertyRegex task...
> From a property that looks like
> anyChar.anyChar.8figures.4figures such as
> my.propert
Hi all,
I'm struggleing with the PropertyRegex task...
>From a property that looks like anyChar.anyChar.8figures.4figures such as
my.property.56238912.1285 I'd like to extract the 8 figures. What would the
regexp and select attributes be?
Thanks for your
35 matches
Mail list logo