Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » pattern definition for a matcher
pattern definition for a matcher [message #385372] Fri, 15 May 2009 08:55 Go to next message
Alex Chatziparaskewas is currently offline Alex ChatziparaskewasFriend
Messages: 52
Registered: July 2009
Member
Hi

I am now trying to get the provider matcher component going for the
springsource site. While trying to match a bundle I have noticed the
following in the logs:

URI pattern
^(((?:[a-zA-Z0-9]+\.)*[a-zA-Z0-9_]+)\\\(([0-9]+(?:\.[0-9]+){ 0,2}(?:\.[a-zA-Z0-9-_]+)?))$
created

The ^ and the $ are giving me a headache now. Do I have to match the
entire line? Or am I missing something here?

Regards
Alex
Re: pattern definition for a matcher [message #385375 is a reply to message #385372] Fri, 15 May 2009 09:35 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Alex,
The match is not applied on arbitrary html code. It's applied on URL's extracted from <a href="xxx"/> elements.

Regards,
Thomas Hallgren

Alex Chatziparaskewas wrote:
> Hi
>
> I am now trying to get the provider matcher component going for the
> springsource site. While trying to match a bundle I have noticed the
> following in the logs:
>
> URI pattern
> ^(((?:[a-zA-Z0-9]+\.)*[a-zA-Z0-9_]+)\\\(([0-9]+(?:\.[0-9]+){ 0,2}(?:\.[a-zA-Z0-9-_]+)?))$
> created
>
> The ^ and the $ are giving me a headache now. Do I have to match the
> entire line? Or am I missing something here?
>
> Regards
> Alex
>
Re: pattern definition for a matcher [message #385377 is a reply to message #385375] Fri, 15 May 2009 12:44 Go to previous message
Alex Chatziparaskewas is currently offline Alex ChatziparaskewasFriend
Messages: 52
Registered: July 2009
Member
Hi

Thanks for the answer. I actually though already so. However, I could not
get the matcher to work whatsoever for my case. I wonder if this has
something to do with the fact the '&' are embedded in the base URL and in
the URLs to match.

Anyhow, finally I found a way accessing my beloved springsource bundle
repository. Turns out that they provide access for maven ...

<searchPath name="com.springsource.external">
<provider xsi:type="mp:MavenProvider" readerType="maven2"
componentTypes="maven,osgi.bundle" mutable="false" source="false">
<uri
format="http://repository.springsource.com/maven/bundles/external"/>
<mp:mappings>
<mp:entry name="com.springsource.org.apache.log4j"
groupId="org.apache.log4j" artifactId="com.springsource.org.apache.log4j"/>
</mp:mappings>
</provider>
</searchPath>


Regards
Alex

Thomas Hallgren wrote:

> Hi Alex,
> The match is not applied on arbitrary html code. It's applied on URL's
extracted from <a href="xxx"/> elements.

> Regards,
> Thomas Hallgren

> Alex Chatziparaskewas wrote:
>> Hi
>>
>> I am now trying to get the provider matcher component going for the
>> springsource site. While trying to match a bundle I have noticed the
>> following in the logs:
>>
>> URI pattern
>>
^(((?:[a-zA-Z0-9]+.)*[a-zA-Z0-9_]+)\(([0-9]+(?:.[0-9]+){0,2} (?:.[a-zA-Z0-9-_]+)?))$
>> created
>>
>> The ^ and the $ are giving me a headache now. Do I have to match the
>> entire line? Or am I missing something here?
>>
>> Regards
>> Alex
>>
Previous Topic:Buckminster 3.4 headless subversion plugins AWOL
Next Topic:Materialized directory structure
Goto Forum:
  


Current Time: Fri Apr 26 18:24:18 GMT 2024

Powered by FUDForum. Page generated in 0.03398 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top