Re: Regex issue (percentages) [70414]

2018-06-29 Tema obsahu Jan Fiala
maki:

(viz https://s8.postimg.cc/wwfurbl11/Screen_Shot_06-29-18_at_04.45_PM.jpg )




I provided you working expression for your purposes in my latest answer.
You have no intention to learn, you have no intention to read answers.

-- 

PSPad freeware editor https://www.pspad.com


Re: Regex issue (percentages) [70413]

2018-06-29 Tema obsahu Steffen
The lines in #6 clearly show the percentages at the end of the line. Now the
requirements changed and as Jan already said also the beginning of a line has to
be matched as alternative and using OR in case the percentage is at the
beginning of the line.
(^|[^\.\d])\d{1,2}(\.\d%|%)
[url=https://ibb.co/j1emXJ](viz https://preview.ibb.co/bY7vRd/regex.png )[/u
rl]

Steffen

-- 

PSPad freeware editor https://www.pspad.com


Re: Regex issue (percentages) [70412]

2018-06-29 Tema obsahu Vlastimil Brom
Hi,
the regex search fails as expected on the given text
the starting part:
[^\d\.]
requires exactly one character other than a digit or a dot, which are not there
at the given positions.
Using regex search for this might be rather demanding to get right;

if your log  data for downloads are always on single line and you want to
filterlines for incomplete downloads, it might be possible without regex in
pspad.

in the Find dialog (Ctrl+F) use the pattern
100%
check [x] Copy non-matching
and click [Copy]

The resulting lines (other than those containing 100%) are then copied to a new
file.
If there are other irrelevant lines in your data file, you can list only  those
containing "%"
again, use % in the search field, 
uncheck [x] Copy non-matching
and click [Copy].

hth,
 vbr

-- 

PSPad freeware editor https://www.pspad.com


Re: Regex issue (percentages) [70411]

2018-06-29 Tema obsahu maki
(viz https://s8.postimg.cc/wwfurbl11/Screen_Shot_06-29-18_at_04.45_PM.jpg )

-- 

PSPad freeware editor https://www.pspad.com


Re: Feature-request: Multi-line edit [70410]

2018-06-29 Tema obsahu Gabriel ACE
damax:

Before I start with my feature wish, I'd like to state that PSPad is one of the
best text editors I know and that I just donated 15€ just because of that.

Here's my question: will PSPad ever learn a "multi-line" edit like NotePad++
has? 

Being a coder, I very often paste some text (eg. XML) into NotePad++, then
Alt-Select all lines and add a 'sb.WriteLine("' in front of every row at once,
like so:

Multi-line editing in NPP (viz https://vimeo.com/27577 )

This is the one big feature I am missing in PSPad (apart from the possibility to
collapse blocks of code).



ME TOO!! T__T I love it!

-- 

PSPad freeware editor https://www.pspad.com


Re: Regex issue (percentages) [70409]

2018-06-29 Tema obsahu Jan Fiala
You have square brackets in first part, why? Maybe it's time to read something
about regular expressions.

-- 

PSPad freeware editor https://www.pspad.com


Re: Regex issue (percentages) [70408]

2018-06-29 Tema obsahu maki
All regex not work !!!


---
Info
---
Next occurrence of "[^\d\.]\d{1,2}(\.\d%|%)" not found.
---
OK   
---

-- 

PSPad freeware editor https://www.pspad.com