Questions tagged [regular-expressions]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

An Error Was Encountered : Non-existent class: Table

Prior this was working. I transfer few files and later it stop working and after login to expression engine when I go to modify -> entry, it shows me an error was encountered.
1
vote
1answer
237 views

Custom Template route issues

I have a template route like the following: /{static_country:regex[(zh|cn|usa)]}/{alpha_dash} which matches a URI like website.com/usa/about-us fine and points to my template I've called static - ...
0
votes
1answer
55 views

How to custom rewrite rule in expression engine?

I want to make a custom url like this http://example.com/entertainment/celebrity/call_me_caitlyn_breaks_the_internet And i wrote the rewrite rule as follows RewriteRule ^entertainment/celebrity/(.*?)...
0
votes
1answer
98 views

Stash regex query

I'm using Stash to set and retrieve a list based on channel entries. I want to filter the list by a 'column' of data defined by a pipe-delimited set of values. I'm having trouble though getting the ...
2
votes
1answer
416 views

Template Routes and Regular Expressions

I'm trying to use regular expressions with the new template routes in ExpressionEngine 2.8. I have little experience with either. Using the Template Route Manager, I'd like to route multiple URLs to ...
0
votes
2answers
76 views

Using pattern matching in Low Seg2Cat

I need to get the IDs of particular segments in the URL, shown in bold (i.e. segments 2, 3 and 4): /grid/strategic/corporate/uk/jim/tweets They could also look like this (i.e. no category has been ...
4
votes
1answer
78 views

Why is the word “random” treated differently in the template parser?

We are experiencing some PHP errors due to a "too large" regular expression that is taking place during template parsing in Template.php. We noticed it was only occurring on templates that load an ...
2
votes
1answer
63 views

Member Group Tabs - Admins being logged out Tab URL

I'm having issues with the Member Group Tabs. My admins are being logged out when they click on menu items. I think the issue is on the url tab. I've tried a variety of urls but nothing works. Not ...
1
vote
0answers
113 views

Help repairing ObjectiveHTML Entries addon

Trying to use ObjectiveHTML's public beta addon, Entries. The thing is that I really need this addon to work, and the developer is not answering as this is a beta version. I looked at the code and ...
1
vote
2answers
144 views

Change H3s into H2s + H4s into H3s for entries in specific channels in one-go

For a while the site editors have been using the wrong HTML headings (to get headings to look "right" instead of asking for the style sheet to be modified). We have hundred of entries (in two ...
3
votes
1answer
162 views

Conditional For Entry Listing Pages Only

I have some code inside a global snippet that I only want to display on a blog listing page. So the allowed URL types could be: /blog /blog/P10 /blog/category/crackers /blog/author/skeletor I do not ...