× Here you can get community support related to Tag Meta.

Non-capturing group

  • gretel
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago #3904 by gretel
Non-capturing group was created by gretel
Hi,

I'm trying to apply a rule for the following URLs:

courses/java-class
courses/python-class

but not for the URL:
courses/graphic-design-class

The only regex that works so far is: \courses/(java-class|python-class)$

Is there a better way to do this? Because, the list of courses is going to grow. I'm trying: \courses/(?:graphic-desing-class)$ but is not working.

Can I use placeholders in the URL field? maybe in Enterprise Version?

Thanks!

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #3905 by admin
Replied by admin on topic Non-capturing group
Unfortunately MySQL regexp doesn't support negative lookahead:

www.selfget.com/forum/redj/569-redirect-and-add-itemid.html#1674

For this reason I have added the "skip" option to ReDJ rules, but this feature is not available for Tag Meta yet.

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #3906 by admin
Replied by admin on topic Non-capturing group
Just added the "skip" feature to 1.7.7 Enterprise.
I'm still testing it so I think I will release tomorrow. This feature will be also included in the next 1.7.7 Community version (it should be released in a couple of weeks).

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

  • gretel
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago #3907 by gretel
Replied by gretel on topic Non-capturing group
Hi Luigi,

Thanks! It really is an essential extension, I will buy the Enterprise version ;)

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #3908 by admin
Replied by admin on topic Non-capturing group
Thanks for appreciate it. :)

Just released the 1.7.7 Enterprise for Joomla 3 (Joomla 2 is not supported anymore).

Here is the changelog:

www.selfget.com/documentation/tagmeta-joomla25/changelog.html

I will try to (finally) finish the online documentation and then I will manage to release the 1.7.7 Community too.

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.074 seconds