Comments (3)
Hi @sgf-dma,
Thanks for pointing this out. I will try to fix the issue.
from nginx-fancyindex-theme.
Here're variants i've tried. All of them seems to work, but use xregexp. In footer.html i've added:
<script src="https://unpkg.com/xregexp/xregexp-all.js"></script>
then variable e
from input.addEventListener()
in addNginxFancyIndexForm.js
may be defined as
// Word sequence _matching_ to input. All, except last, words must be _complete_.
e = "(^|.*[^\\pL])" + this.value.trim().split(/\s+/).join("([^\\pL]|[^\\pL].*[^\\pL])") + ".*$",
or
// Word sequence may be any, but all, except last, words must be _complete_.
e = "^(?=(.*[^\\pL])?" + this.value.trim().split(/\s+/).join("[^\\pL])(?=.*[^\\pL]") + ").*$",
or
// Word sequence may be any, all words may be incomplete.
e = "^(?=(.*[^\\pL])?" + this.value.trim().split(/\s+/).join(")(?=.*[^\\pL]") + ").*$",
from nginx-fancyindex-theme.
Thanks, I've used the first solution.
I don't have a proper installation of nginx on my laptop (yet), I'll try to test it soon.
from nginx-fancyindex-theme.
Related Issues (19)
- fancyindex_name_length HOT 1
- styles.css not found HOT 1
- Markdown processing does not support lists HOT 8
- [question] Hi i want to make a dockerfile (and docker-compose file) for this. HOT 4
- Odd styling HOT 10
- fancyindex-can-t-print-list-with-auth-ldap-module HOT 7
- Please Add the support of Nginx 1.14.x feature HOT 3
- 在页面的头部和尾部显示404,找不到主题 HOT 3
- 404 requests for HEADER.md README.md per directory HOT 1
- Populate README to subdirectories HOT 2
- question about HEADER.md and README.md HOT 4
- 302 Found HOT 4
- r4s HOT 1
- Recursive Search HOT 1
- Add note about upcoming removal of fancyindex_name_length HOT 1
- 这个项目作者还在吗 HOT 5
- Changing white background HOT 2
- fancyindex_name_length
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-fancyindex-theme.