- Posted by
- I believe you are correct. All examples now work except for the yield Removing let all other examples worked with expected results unless yield was attempted. I also see that some cases will not work because let is not working without the yield keyword.Posted in Scripts
-   Topics
-   Views
- sklad2
Aug 08, 2008
- function fib() { var i = 0, j = 1; while (true) { yield i; var t = i; i = j; j += t; } } var g = fib(); for (var i = 0; i < 10; i++) { UltraEdit.outputWindow.write(g.next() + "<br>\n"); } I get the following in the output window Running script: C:\temp\t1.js ========================================...Posted in Scripts
-   Topics
-   Views
- sklad2
Aug 08, 2008
- Thanks a million for showing me where this syntax is in the docs. Also how do we know which version of javascript is used by any particular version of UE? Should UE be totally compliant with the version. I have tried a few Javascript ( 1.7 ) examples and found some the object examples do not work wi...Posted in Scripts
-   Topics
-   Views
- sklad2
Aug 07, 2008
- Amazingly I am reading a tutorial on regex and Perl expressions and examples and I am trying to understand how they work and why. The good news is I am understanding most 8O , ok some of it. :D It is taking many tries with tests for me, and I keep my examples and expected outputs in files. All of th...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- sklad2
Jul 31, 2008
- Here is another Regex issue match the b this should match (q?)b\1 this should not (q)?b\1 however they both match! I know which regex engine I like so far. Now I am becoming a bit concerned about regex matching with UE. Maybe UE could run a few test regex scripts through and check the results.Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- sklad2
Jul 31, 2008
- I am reading a tutorial , following examples in regular expressions and in a Perl Example they show that [^\d\s] is not the same as [\D\S] however in UE 14.10.0.1024 I see the latter matches exactly what the first expression matches and not what I expected it to match. Example 8x8 The first regex sh...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- sklad2
Jul 31, 2008
- It is working great!!!! (?<=;)[^;\r\n]+$ This is the one I am currently running. I am thinking about getting Regex buddy. I hope this will help my regex skills :mrgreen: Thanks for all of the great help with regular expression!!!!!!!! :DPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- sklad2
Jul 30, 2008
- Fantastic!!!!! Could you please explain the expression so I understand how it works. Thanks a millionPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- sklad2
Jul 29, 2008
- This results in the following this is a test;test line two; this I want ;regular epxressions;are;great; when; you;know;how;to;use;them; Not what I was hoping for as a result. I want each line to just lop off the trailing stuff after the last semicolon. looking more for this kind of result this is a ...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- sklad2
Jul 28, 2008
- I have lines like this this is a test; delete all of this test line two; this I want ; delete all of this regular epxressions;are;great; when; you;know;how;to;use;them; delete this stuff I want to delete after the last semicolon on each line. I am using UE 14.10.1.0.1024Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- sklad2
Jul 28, 2008
- I agree about having sort options that allow you to pick criteria and use that criteria to eliminate dups.Posted in UltraEdit General Discussion
-   Topics
-   Views
- sklad2
Jul 16, 2008
- Thanks for this response, it has been bugging me for a while also.Posted in Configuration/INI Settings
-   Topics
-   Views
- sklad2
Jun 26, 2008
- I really appreciate the help with this!!!! The code is amazing! I was going at it like this before your code. 1. try to open param file 2. try to open record file 3. read one line in param file , if it had the numbers ,try to parse it and then try to copy col:col to a new line in record file. 4. ove...Posted in Scripts
-   Topics
-   Views
- sklad2
Jun 17, 2008