Thank you, but if it is not an issue, how would then one go with capturing the whole set?
Kindest regards, Nikola On Fri, Dec 31, 2021 at 11:07 AM Stefan Overkamp <overk...@posteo.de> wrote: > Hi, the parentheses in your regex are the so called capturing group. So > its reproducible, that you captured the middle value. > > Stefan > > 29.12.2021 21:37:31 Nikola Krlovic <nikola.krlo...@gmail.com>: > > Hello all, > > I am having issues figuring out how to get a custom dimension working for > my image mosaic. > > Namely - the regex for a custom dimension requires a code that goes for > example : > > 4444-95-33 > > But I do not wish to use a timeregex property, in case there is a time > dimension. > > I have set up custom dimensions before, and have even tested whether it is > recognized by doing a trial run. > > So in my coderegex.properties i put : > > regex=^[0-9]+(-[0-9]+)+$ > > But it did not fetch what I wanted. I checked the GetCapabilities and it > fetches a middle value. > > What would the proper regex be? > > Kindest regards, > > Nikola > > > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users