Comments (5)
Or looking for another good idea.
It's an idea I came up with.
When using regular expressions, enclose them in /. /regexp/.
/[,|;]/ and /[a-z]/ are treated as regular expressions.
Command line options can be enclosed in double quotes. "/[,|;]/"
"/", "/end" and "s/e" are treated as strings.
If you want to treat "//" as a character string, use "\/\/".
from ov.
Thank you.
I think this is a good idea.
However, to implement this, we may need to switch between interpreting it as a delimiter and a regular expression.
For example, if ". " as a delimiter, I am not happy with the need for escaping.
from ov.
That's very reasonable. I'd think a separate flag would work for a regexp?
from ov.
Hmm, maybe I should implement a switch like search...
Or looking for another good idea.
from ov.
I created guesswidth to guess the width of the width format.
This gives better results than using /\s+/ for the column-delimiter.
I plan to introduce this to ov as well.
from ov.
Related Issues (20)
- Explain how to set both the background and foreground color for elements HOT 3
- Feature request: shortcut to flip StyleColumnHighlight HOT 2
- support pre-set searches via --pattern HOT 4
- Add ov to homebrew core tap HOT 1
- Flickering while loading lines HOT 5
- ov changes cursor in vscode terminal HOT 3
- Set default parameters globally, based on extension HOT 3
- Option of horizontal scroll amount HOT 2
- Feature Request: Support fixed number of lines with `--section-header` option HOT 2
- FYI: ArchLinux now has three ‘flavours’ of ov HOT 2
- Feature Request? Pipe buffer into other program HOT 5
- pasting text into search truncates text HOT 2
- If there is no config file and an error about that then it seems the command line options are ignored HOT 2
- x86 debian binary HOT 4
- Feature request: display only lines matching a pattern HOT 3
- Feature request: allow to pass a caption via command line HOT 7
- Terminal Title Got Changed to ";" HOT 5
- `ov -F` not auto add LF if the last line of file do not has LF HOT 4
- Feature Request: Options for Customizing 'Section' background color HOT 3
- Feature Request: add CI to the workflow HOT 1
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 ov.