- Posted by
- I want to followup on this issue. Mofi did a great job pointing me in the right direction. I posted a question directly to their tech support and they came back with a great response. Thank you for your message. You should be able to configure UltraEdit Mac to use private key authentication for SFT...Posted in FTP/SFTP / SSH/Telnet
-   Topics
-   Views
- mr_nelson
0:05 - Feb 21
- Hi, Because there is no feature to count characters inside the string matched by a Perl regular expression you must consider the worst case when the third column is only one character long so the first added value 0.025 must be preceded by seven spaces. Then the second regexp replace removes the ext...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
21:03 - Jan 23
- Hello everyone. This is Tristan—marketing manager for UltraEdit. As some of you may have noticed, the UltraEdit website has been given a refresh in early 2023. Apart from aesthetic reasons, this was executed because we wanted to streamline the website experience from downloading free trials, gettin...Posted in Editor Display
-   Topics
-   Views
- UltraEdit
Sep 07, 2023
- Hi Jarva, Mofi's regexes are ok but if you want to use a more exact pattern then the following one (Perl syntax) could be useful. And it also demonstrates the use of DEFINE ;) F: (?(DEFINE)(?<refnum>\d+(?:-\d+)?)) +\[(?&refnum)(?:,(?&refnum))*\] R: <leave it empty> This pattern respects the inner s...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Apr 14, 2023
- Thanks for your prompt and detailed reply. Since I posted my query I'd discovered the .idm directory in my $HOME directory and had been able to copy my settings across. I didn't copy all of the .idm/uex and .idm/ucx directory contents as they contained a license key and I'd already licensed the apps...Posted in UEX General Discussion
-   Topics
-   Views
- rhills
Mar 25, 2023
- Mofi I think schwit 's post was about something else. For us the version numbering is comprehensible, but winget only does care about two things: The version registered in the winget repository, and the version on the local computer in the the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windo...Posted in UltraEdit General Discussion
-   Topics
-   Views
- mailman4510
Feb 17, 2023
- I think, I've got the Windows-1251 tag list optimized for my own purposes now, having contrived to remove the following groups of characters to the end (reading from the end): Cyrillic characters not used in modern Russian (28) special characters that I don't need (8) special characters already avai...Posted in UltraEdit General Discussion
-   Topics
-   Views
- Giomach
Aug 11, 2022
- Hmm, I forgot to make the regexp safe, thanks Mofi. It's time to use some control verbs :) The safe version: F: \w=\K(")?([\w ]+)(?(1)(?(?=")(*SKIP)(*FAIL))|"?)(?!\w*=) R: "\2" BR, FleggyPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Nov 01, 2021
- 1. Make copy of your data 2. Find what: \d+\K(\d\d) 3. Replace with: .\1 4. Mark Regular expressions: and choose Perl 5. Mark Replace all is from top of file (if needed) 6. Click Replace allPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Ovg
Dec 13, 2020
- Hi Mofi, It's an honor! Thank you for taking time to look at this. I've attached a few images running different ('large') applications. As you can see, when doing nothing after startup they resume to minimal CPU usage. Next I've toggled the 'check for file changes' option but that did not result in ...Posted in UltraCompare General Discussion
-   Topics
-   Views
- Neo Cobe
Nov 18, 2020
- Thanks for the hint :-) Here is what worked for me: 1. I created/modified a CSS style that produces the format I need. 2. I added the CSS style into UltraEdit (Live preview -> Add/remove style) and selected it for my document. 3. I used pandoc to convert Markdown to HTML, using the same CSS style. S...Posted in UltraEdit General Discussion
-   Topics
-   Views
- Jakub Illner
Oct 06, 2020
- Solved in UE v27.10.0.80Posted in Editor Display
-   Topics
-   Views
- mario_lorenz
Sep 29, 2020
- Yes, ANIMAL is just a name of the group. This group has its definition - match either dog or cat and when the match is found then this group also has its content - the matched word. Lately you can reference to both - to the definition (?&ANIMAL) or to the matched (captured) word \k<ANIMAL> . (? <ANI...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Jul 29, 2020
- BTW: Here is another pattern without the alternation. For education purpose :) (? <ANIMAL> \b (?: dog | cat ) \b ) .+ (?! \k <ANIMAL> ) (?& ANIMAL ) .*$Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Jul 29, 2020
- Awesome! And it seems to be working fine if Arrow functions (with par.) is combined with Anonymous section. /TGBegin "Named Functions" /TGFindStr = "(?-i)^[\t ]*(?:[!(]|[\w$]+\(|(?:(?:const|let|var)[\t ]+)?[\w$]+[\t ]*[:=][\t ]*(?:{[\w$]+[\t ]*:[\t ]*)?)?function[\t ]*([\w$]+)[\t ]*\([^\)]*?\)" /TGB...Posted in Syntax Highlighting
-   Topics
-   Views
- V@no
Jul 14, 2020
- Thank you very much! There is one issue though, it fails recognize functions inside an object on separate line. Here is more complete list of tests, including new arrow functions: !function(){}(); // test1 !function test2(){}(); // test2 (funct...Posted in Syntax Highlighting
-   Topics
-   Views
- V@no
Jul 12, 2020
- However, running from top of file Replace all results in correct behavior as far as I could see with inserting after this replace newline characters in input and output file to be able to compare the files and look on the nine differences caused by correct Replace all . You're right. Replace all do...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Gabarito
May 26, 2020
- Sorry for the length of this reply. "David, why do you write several times 'you' " The first time I wrote 'you' ("The problem with following your instructions") was not a problem because you had actually given me instructions. The second time ("in any case since you only support Windows menus and di...Posted in Editor Display
-   Topics
-   Views
- david0
May 17, 2020
- Hi Mofi, it looks like UE uses Boost library v1.68 according to the UE Help. The topic Regular Expressions (Perl Style) refers to this link BR, FleggyPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
May 05, 2020
- Hi, UE supports named groups in replace in this form: $+{nxt} BR, FleggyPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
May 05, 2020
- Mofi I had to create an account especially - just so I could thank you for taking the time and using your amazing knowledge to answer this question for edmac43. I know he didn't answer you or say thank you, but I wanted you to know that the answer you provided is perfect and will save me countles...Posted in Custom User Tools/Tool Configuration
-   Topics
-   Views
- BornLucky
Mar 30, 2020
- In the 'file view' dockable window; I see a drop-down at the top of the 'open' pane and I can't figure out what it does. Here's a screenshot of what I mean: https://i.imgur.com/0938sFA.png It doesn't seem to be described in the documentation here: https://www.ultraedit.com/wiki/File_view At first I ...Posted in Editor Display
-   Topics
-   Views
- WYR551
Dec 19, 2019
- Mofi, as always, I appreciate your very informative posts. I was, indeed, knowledgeable of how UTF-8 & UTF-16 handle the bytes of characters. However, I didn't know how apps handle variable byte lengths until now. Indeed, I understand now the memory & processing savings of a 2 byte string library. H...Posted in UltraEdit General Discussion
-   Topics
-   Views
- abcjme
Dec 16, 2019
- Okay, only the block comment issue cannot be solved - since the generated code from CK is used to synchronize the Object manager with the source code and the synchronization fails when the "anchor" comments are modified. But a workaround would be to add the anchors to the fold elements /Open Fold St...Posted in Syntax Highlighting
-   Topics
-   Views
- siaccarino
Aug 28, 2019
- Hi, another double quotes beyond the ending one are allowed? Are the inner double quotes prefixed by some special character (backslash,...)? It both answers are "NOT" then you can try this Perl regular expression: F: ^(.{5})"(.*)" R: \1\2 BR, FleggyPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Aug 02, 2019
- Great help as always Mofi! This is what I have done to try and set-up UEStudio, restoring from backups of UltraEdit: Imported Settings from an UltraEdit backup: In UltraEdit: Advanced Tab | Backup settings ▼ | Export settings In UEStudio: Advanced Tab | Backup settings ▼ | Import settings and then s...Posted in UEStudio General Discussion
-   Topics
-   Views
- Bird201
May 16, 2019
- Hi, you cannot CUT them directly but you can delete them. Step by step from the very beginning: In Find dialog check List lines containing string and check Filter lines with selecting Hide . Click on button Next . Do Copy to clipboard or Copy results to new file from Find String List context menu. (...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Apr 28, 2019
- This seems to be a problem of UltraEdit for Windows of the currently latest releases which are 26.00.0.62 or 26.00.0.72. I have never seen this wrong behavior before. Select some lines whereby first and last line are not selected 'from beginning' or 'to end' of line. Press several times the button f...Posted in UltraEdit General Discussion
-   Topics
-   Views
- Peter
Apr 24, 2019
- Hello everybody, following patterns match the correct tag pairs including/excluding a single tag. Perhaps some little tuning will be needed as I usually do not work with HTML/XML. But I use it frequently in this forum. :) 1. Match XXX tag pair <XXX> ... </XXX> or a single XXX tag <XXX/> (?s) (?<MAIN...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Apr 23, 2019
- Or you can use this in case there are more adjacent capital letters :) F: (?-i)(?<![A-Z\s])([A-Z]+) R: <space>\1 BTW a little off-topic - UltraEdit version 26.00 uses Boost Perl regular expression library version 1.68 . And IDM implemented almost all missing features (backtracking control verbs, nam...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Jan 30, 2019
- 1. Find what: ([[:upper:]]) or (?-i)([A-Z]) or (?-i)(\p{Lu}) Replace with: $1 (There is space before $) 2. Find what: [[:upper:]][[:lower:]]* or (?-i)\p{Lu}\p{Ll}* or (?-i)[A-Z][a-z]* See also Perl Regular Expression Syntax .Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Ovg
Jan 30, 2019
- Hi Don, this regex is shorter and case insensitive. It matches the whole sequence of [,:.;] before the closing tag </title> and works even for the following line <title>Erodé.;</title> F: (?i)(?:[,:.;](?<![0-9A-F]{4};))+(?=</title>) R: empty BR, FleggyPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Apr 25, 2018
- Hello, if you need to search <X> followed by <Y> but not with <Z> in between then you may find useful this Perl regex with nested lookarounds: <X> (?= (?> . (?<! <Z> ) )*? <Y> ) Please don't forget that UltraEdit/UEStudio supports lookbehind with fixed length only (on writing this). BR, FleggyPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Jul 24, 2016
- Hello, this two-pass replacement could be useful for simple refactoring. Once I needed to change many identificators in all source files so I "invented" this. I used ' { ' and ' } ' as safe delimiters but you can choose another suitable chars. These regexes work in UE19 and above (older versions do ...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fleggy
Sep 27, 2013