Re: [GNC] 8.1.1. Find Transaction

2020-10-03 Thread Geoff
David, the first edition of this book still has pride of place on my 
book shelves: http://regex.info/book.html


Not for the faint hearted, but if your head doesn't explode at the first 
chapter, it will teach you more than you ever wanted to know (or even 
knew there was to know) about regular expressions.


Best $60 I ever spent.  Regular expressions can be a *huge* time saver.

I'll add a GnuCash RegEx overview to my To Do list.  But don't hold your 
breath, that list is a long one ;--)


Regards

Geoff
=

On 3/10/2020 1:15 pm, David Carlson wrote:

There you are, I graduated college in 1968.

Anyway I just created *Bug 797965* 
 which is a RFE to a 
path that would resolve the core problem of this thread, and I invite 
comments there.


On Fri, Oct 2, 2020 at 10:02 PM Derek Atkins > wrote:


__
You must be in your 60s or 70s (or older) if you think you were
around before the term regex was created.
The term regex (REGular EXpression) has been around at least since
the 80s if not earlier.  It is a way to search for, well, a regular
expression.
There are several resources for regex examples, and regex has been
standardized for many decades.
Happy hacking.

-derek
Sent using my mobile device. Please excuse any typos.

On October 2, 2020 10:50:45 PM David Carlson
mailto:david.carlson@gmail.com>>
wrote:


Geoff,

Thank you for the very nice description of how to implement the
mechanics
of an iterative search.  Now all we need is an easy to understand
description of how each of the search criteria work, including
(especially,
with examples) exactly what regex means to those of us that went
to school
before that term existed, how to know exactly which split lines are
searched and which split lines just come along for the ride into the
results, and perhaps why the search dialog disappears, which was the
original problem that started this thread.

I can't seem to make the help for that dialog appear from the help
button
in that dialog.  I finally found the actual help in the F1 Help manual
under Tools and Assistants > Find which completely glosses over the
subjects in the previous paragraph.

On Fri, Oct 2, 2020 at 7:49 PM Geoff mailto:cleanoutmys...@gmail.com>> wrote:


Regardless of whether the search box disappears or not, GnuCash's
"search within search results" feature is still pretty nifty.

I've attached a screenshot showing four consecutive searches
illustrating:
New search (the other options are always disabled on the initial
search)
Add results to current search
Refine current search
Delete results from current search

First search is to locate transactions with value less than 200.
Second search is to add in transactions with value more than 800.
Third search is to restrict to description containing "gnucash".
Fourth search is to remove transactions posted on 26th September.

(Harking back to our school days, I think we can say that GnuCash
search
provides the Set Theory equivalents of Union, Intersection, and
Complement
https://www.britannica.com/science/set-theory/Operations-on-sets.  But
I
digress.)

The trick is to invoke the second and subsequent searches from the
"Search Results" tab and not the Chart of Accounts.

This is, of course, a simple example.  Any given search operation
also
lets you specify multiple criteria ("Add" button), and whether "all
criteria" must be met or just "any criteria" ie AND or OR logic.

James, I hope this tip improves your search results.

Regards

Geoff
=
Version: 4.1
Build ID: 4.1+(2020-07-25)
Finance::Quote: 1.49
Windows 10


On Sat, 26 Sep 2020 13:47:10 -0500 (CDT), Jamestk wrote:
Hello good folks,

I wanted to check if there was a simpler way when using the 'find
transaction'feature repeatedly.

When searching for transactions it normally involves a batch of
invoices or
receipts which are not showing withing reports, most often this
is due to
me
selecting incorrect accounts or similar, easy way is to use find
feature -

Searches are basic, Select find from edit menu then opt for
'value' setting
leaving all other criteria std, often this works but if it
returns nil
results you have to start over, is there anyway of saving the
search or to
edit and re-run the original without having to start from scratch?

8.1 help file is okay but a bit technical in parts.

Thanks,



___
gnucash-user mailing list
gnucash-user@gnucash.org 
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If y

Re: [GNC] 8.1.1. Find Transaction

2020-10-03 Thread Liz Dodd
On Fri, 02 Oct 2020 23:02:05 -0400
Derek Atkins  wrote:

> You must be in your 60s or 70s (or older) if you think you were
> around before the term regex was created.

Ok, we're outed.

Liz
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] 8.1.1. Find Transaction

2020-10-03 Thread Jamestk
Geoff, I am with you, thanks for taking the time to post detailed info
(screenshot?)

That might save a bit of time as it can be done from the same window, that
said it's more or less the same process of having to go through menu options
rather than a floating box which you can just change the value amount,
example below for reply to Adrien's question:

Sometimes I don't have receipts to hand (may be at the office) when
reconciling say a credit account with statement, when this happens I put a
default description/category until I have these to hand.

There may be twenty or so receipts which need to update GNUC with payee
details, easiest way to retrieve is using search function ideally entering
amount 66.74, up pops transaction, change payee then back to floating box to
change just the amount, what happens at the moment is back accounts tree
(your suggestion may help here) then menu, edit> find, select value adding
in the amount 

Hope all of that makes sense, cheers - David 


Geoff wrote
> Regardless of whether the search box disappears or not, GnuCash's 
> "search within search results" feature is still pretty nifty.
> 
> I've attached a screenshot showing four consecutive searches illustrating:
> New search (the other options are always disabled on the initial search)
> Add results to current search
> Refine current search
> Delete results from current search
> 
> First search is to locate transactions with value less than 200.
> Second search is to add in transactions with value more than 800.
> Third search is to restrict to description containing "gnucash".
> Fourth search is to remove transactions posted on 26th September.
> 
> (Harking back to our school days, I think we can say that GnuCash search 
> provides the Set Theory equivalents of Union, Intersection, and 
> Complement 
> https://www.britannica.com/science/set-theory/Operations-on-sets.  But I 
> digress.)
> 
> The trick is to invoke the second and subsequent searches from the 
> "Search Results" tab and not the Chart of Accounts.
> 
> This is, of course, a simple example.  Any given search operation also 
> lets you specify multiple criteria ("Add" button), and whether "all 
> criteria" must be met or just "any criteria" ie AND or OR logic.
> 
> James, I hope this tip improves your search results.
> 
> Regards
> 
> Geoff
> =
> Version: 4.1
> Build ID: 4.1+(2020-07-25)
> Finance::Quote: 1.49
> Windows 10
> 
> 
> On Sat, 26 Sep 2020 13:47:10 -0500 (CDT), Jamestk wrote:
> Hello good folks,
> 
> I wanted to check if there was a simpler way when using the 'find
> transaction'feature repeatedly.
> 
> When searching for transactions it normally involves a batch of invoices
> or
> receipts which are not showing withing reports, most often this is due to
> me
> selecting incorrect accounts or similar, easy way is to use find feature -
> 
> Searches are basic, Select find from edit menu then opt for 'value'
> setting
> leaving all other criteria std, often this works but if it returns nil
> results you have to start over, is there anyway of saving the search or to
> edit and re-run the original without having to start from scratch?
> 
> 8.1 help file is okay but a bit technical in parts.
> 
> Thanks,
>> 
> 
> ___
> gnucash-user mailing list

> gnucash-user@

> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
> 
> 
> gnc_search.jpg (507K)
> ;





--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] 8.1.1. Find Transaction

2020-10-03 Thread David Cousens
Damn Derek,

Also outed, I may have just made it to primary school when Stephen Kleene was 
working the foundations of regex.

On Fri, 2020-10-02 at 23:02 -0400, Derek Atkins wrote:
> You must be in your 60s or 70s (or older) if you think you were around 
> before the term regex was created.
> The term regex (REGular EXpression) has been around at least since the 80s 
> if not earlier.  It is a way to search for, well, a regular expression.
> There are several resources for regex examples, and regex has been 
> standardized for many decades.
> Happy hacking.
> 
> -derek
> Sent using my mobile device. Please excuse any typos.
> On October 2, 2020 10:50:45 PM David Carlson  
> wrote:
> 
> > Geoff,
> > 
> > Thank you for the very nice description of how to implement the mechanics
> > of an iterative search.  Now all we need is an easy to understand
> > description of how each of the search criteria work, including (especially,
> > with examples) exactly what regex means to those of us that went to school
> > before that term existed, how to know exactly which split lines are
> > searched and which split lines just come along for the ride into the
> > results, and perhaps why the search dialog disappears, which was the
> > original problem that started this thread.
> > 
> > I can't seem to make the help for that dialog appear from the help button
> > in that dialog.  I finally found the actual help in the F1 Help manual
> > under Tools and Assistants > Find which completely glosses over the
> > subjects in the previous paragraph.
> > 
> > On Fri, Oct 2, 2020 at 7:49 PM Geoff  wrote:
> > 
> > > Regardless of whether the search box disappears or not, GnuCash's
> > > "search within search results" feature is still pretty nifty.
> > > 
> > > I've attached a screenshot showing four consecutive searches illustrating:
> > > New search (the other options are always disabled on the initial search)
> > > Add results to current search
> > > Refine current search
> > > Delete results from current search
> > > 
> > > First search is to locate transactions with value less than 200.
> > > Second search is to add in transactions with value more than 800.
> > > Third search is to restrict to description containing "gnucash".
> > > Fourth search is to remove transactions posted on 26th September.
> > > 
> > > (Harking back to our school days, I think we can say that GnuCash search
> > > provides the Set Theory equivalents of Union, Intersection, and
> > > Complement
> > > https://www.britannica.com/science/set-theory/Operations-on-sets.  But I
> > > digress.)
> > > 
> > > The trick is to invoke the second and subsequent searches from the
> > > "Search Results" tab and not the Chart of Accounts.
> > > 
> > > This is, of course, a simple example.  Any given search operation also
> > > lets you specify multiple criteria ("Add" button), and whether "all
> > > criteria" must be met or just "any criteria" ie AND or OR logic.
> > > 
> > > James, I hope this tip improves your search results.
> > > 
> > > Regards
> > > 
> > > Geoff
> > > =
> > > Version: 4.1
> > > Build ID: 4.1+(2020-07-25)
> > > Finance::Quote: 1.49
> > > Windows 10
> > > 
> > > 
> > > On Sat, 26 Sep 2020 13:47:10 -0500 (CDT), Jamestk wrote:
> > > Hello good folks,
> > > 
> > > I wanted to check if there was a simpler way when using the 'find
> > > transaction'feature repeatedly.
> > > 
> > > When searching for transactions it normally involves a batch of invoices 
> > > or
> > > receipts which are not showing withing reports, most often this is due to
> > > me
> > > selecting incorrect accounts or similar, easy way is to use find feature -
> > > 
> > > Searches are basic, Select find from edit menu then opt for 'value' 
> > > setting
> > > leaving all other criteria std, often this works but if it returns nil
> > > results you have to start over, is there anyway of saving the search or to
> > > edit and re-run the original without having to start from scratch?
> > > 
> > > 8.1 help file is okay but a bit technical in parts.
> > > 
> > > Thanks,
> > > ___
> > > gnucash-user mailing list
> > > gnucash-user@gnucash.org
> > > To update your subscription preferences or to unsubscribe:
> > > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > > If you are using Nabble or Gmane, please see
> > > https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> > > -
> > > Please remember to CC this list on all your replies.
> > > You can do this by using Reply-To-List or Reply-All.
> > > 
> > 
> > --
> > David Carlson
> > ___
> > gnucash-user mailing list
> > gnucash-user@gnucash.org
> > To update your subscription preferences or to unsubscribe:
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > If you are using Nabble or Gmane, please see 
> > https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> > -
> > Please remember to CC this list on 

Re: [GNC] 8.1.1. Find Transaction

2020-10-03 Thread Chris Green
On Sat, Oct 03, 2020 at 08:28:43PM +1000, Liz Dodd wrote:
> On Fri, 02 Oct 2020 23:02:05 -0400
> Derek Atkins  wrote:
> 
> > You must be in your 60s or 70s (or older) if you think you were
> > around before the term regex was created.
> 
> Ok, we're outed.
> 
Quite a lot older I think, I'm in my 70s and have known about REs all
of my professional life (software engineer) and I suspect they were
around before I came across them.  :-)

-- 
Chris Green
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] 8.1.1. Find Transaction

2020-10-03 Thread Michael Hendry
> On 3 Oct 2020, at 11:46, Chris Green  wrote:
> 
> On Sat, Oct 03, 2020 at 08:28:43PM +1000, Liz Dodd wrote:
>> On Fri, 02 Oct 2020 23:02:05 -0400
>> Derek Atkins  wrote:
>> 
>>> You must be in your 60s or 70s (or older) if you think you were
>>> around before the term regex was created.
>> 
>> Ok, we're outed.
>> 
> Quite a lot older I think, I'm in my 70s and have known about REs all
> of my professional life (software engineer) and I suspect they were
> around before I came across them.  :-)


The concept of a regular expression was ntroduced in the 1950s - see 
https://en.wikipedia.org/wiki/Regular_expression

Michael
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Anyone have a current gnc-vcs-info.h they can post here?

2020-10-03 Thread B Wooster
Thanks, I did not realize .zip archives sources will fail to compile.

All good, compilation succeeded using tarball from the home page.

===

In terms of confusion regarding github and .zip... just a suggestion, for
what it's worth: if possible the https://wiki.gnucash.org/wiki/Building
could be clarified.

Suggested edit:

Current:
from source code (downloaded as tarballs) as well as the ''developers
version'' of GnuCash from the ''[[Git]] repository''.

Suggested edit:
from source code (downloaded as ''[{{WebURL}}/download.phtml tarballs]'')
as well as the ''developers version'' of GnuCash from the ''[[Git]]
repository''.

And also worth mentioning that again, forcefully, in the "Introduction"
section:

Current:
GnuCash can be built from sources

Suggested edit:
GnuCash can be built from from source code (downloaded as
''[{{WebURL}}/download.phtml tarballs]'') as well as the ''developers
version'' of GnuCash from the ''[[Git]] repository''.
Do not use the ''Download ZIP'' option from the github GnuCash site. Those
sources won't compile.

===

On Fri, Oct 2, 2020 at 7:29 AM Derek Atkins  wrote:

> Don't use github tarballs.
> We would turn them off if they would let us!
> Either use an official release tarball or fit clone.
>
> -derek
> Sent using my mobile device. Please excuse any typos.
>
> On October 2, 2020 7:27:09 AM B Wooster  wrote:
>
> The githib .zip archive fails to build for what I think is a known issue -
>> tarballs, cmake, make does not work for gnucash build.
>>
>> Can someone reply to this message with a currently valid gnc-vcs-info.h? I
>> hacked itup, but it fails in the version-info2env step.
>>
>>   Manually hacked up gnc-vcs-info.h like this, but it will fail later in
>> version-info2env step:
>> #define GNC_VCS_REV "4.20"
>> #define GNC_VCS_REV_DATE "11"
>> #define GNC_VCS_REV_YEAR "2020"
>> #define GNC_VCS_REV_Y_M "2020-10"
>>
>> I got around it by using make -i, and it built gnucash, so somewhat OK for
>> now. Just experimenting right now.
>>
>> clean make error:
>> ...
>> Scanning dependencies of target gnc-vcs-info
>> make[2]: *** No rule to make target
>> '.../gnucash-maint/libgnucash/core-utils/gnc-vcs-info.h', needed by
>> 'libgnucash/core-utils/CMakeFiles/gnc-vcs-info'.  Stop.
>> make[1]: *** [CMakeFiles/Makefile2:5180:
>> libgnucash/core-utils/CMakeFiles/gnc-vcs-info.dir/all] Error 2
>> make: *** [Makefile:163: all] Error 2
>>
>>
>> [not a member of devel group so hoping someone from gnucash-user can
>> reply!
>> thanks!]
>>
>> Debian system, gnucash-maint zip archive 2020-Oct-1:
>>
>> make -i
>> ...
>> CMake Error at .../gnucash-maint/cmake/version-info2env.cmake:10 (list):
>>   list index: 1 out of range (-1, 0)
>> Call Stack (most recent call first):
>>   .../gnucash-maint/cmake/configure-manpage.cmake:14 (versioninfo2env)
>>
>>
>> [ 50%] Built target gnucash-cli-manpage
>> [ 50%] Generating gnucash.1
>> CMake Error at .../gnucash-maint/cmake/version-info2env.cmake:10 (list):
>>   list index: 1 out of range (-1, 0)
>> Call Stack (most recent call first):
>>   .../gnucash-maint/cmake/configure-manpage.cmake:14 (versioninfo2env)
>>
>>
>> [ 50%] Built target gnucash-manpage
>> ...
>> [ 68%] Built target gnucash-cli
>> make[2]: *** No rule to make target '.../gnucash-maint/gnucash/gnome/
>> gnucash.appdata.xml.in', needed by 'gnucash/gnome/gnucash.appdata.xml'.
>> Stop.
>> [ 68%] Built target gnucash-appdata
>> [ 68%] Generating gnucash.desktop
>> CMake Error at .../gnucash-maint/cmake/version-info2env.cmake:10 (list):
>>   list index: 1 out of range (-1, 0)
>> Call Stack (most recent call first):
>>   .../gnucash-maint/cmake/configure-gnucash-desktop.cmake:15
>> (versioninfo2env)
>> ___
>> gnucash-user mailing list
>> gnucash-user@gnucash.org
>> To update your subscription preferences or to unsubscribe:
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> If you are using Nabble or Gmane, please see
>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>> -
>> Please remember to CC this list on all your replies.
>> You can do this by using Reply-To-List or Reply-All.
>>
>
>
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] 8.1.1. Find Transaction

2020-10-03 Thread David Carlson
Thank you Michael,

I see in your reference that regex came into general use in certain
computer circles at approximately the same time that I was learning about
the radical new analog computing devices called Operational Amplifiers from
their inventor at Northwestern University.  At that time there were few
computer science classes for undergraduates, and I only had time for one of
them in my schedule...

On Sat, Oct 3, 2020 at 6:02 AM Michael Hendry 
wrote:

> > On 3 Oct 2020, at 11:46, Chris Green  wrote:
> >
> > On Sat, Oct 03, 2020 at 08:28:43PM +1000, Liz Dodd wrote:
> >> On Fri, 02 Oct 2020 23:02:05 -0400
> >> Derek Atkins  wrote:
> >>
> >>> You must be in your 60s or 70s (or older) if you think you were
> >>> around before the term regex was created.
> >>
> >> Ok, we're outed.
> >>
> > Quite a lot older I think, I'm in my 70s and have known about REs all
> > of my professional life (software engineer) and I suspect they were
> > around before I came across them.  :-)
>
>
> The concept of a regular expression was ntroduced in the 1950s - see
> https://en.wikipedia.org/wiki/Regular_expression
>
> Michael
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>


-- 
David Carlson
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] 8.1.1. Find Transaction

2020-10-03 Thread Michael or Penny Novack

On 10/2/2020 10:49 PM, David Carlson wrote:

... including (especially,
with examples) exactly what regex means to those of us that went to school
before that term existed,.


ROFLOL  in which case you are older than I am and I'm in my mid 70's

It's not exactly a new term, dates to the 50's in mathematics. OK, math 
tends to run ahead of application, but unix and it's standard library 
dates to the late 70's and the "standard library of utilities" began 
with the find/mach replace utilities using "regular expressions" to 
express what was to be matched. "Regex" is simply the usual abbreviation.


The earliest practical use with computers would have been late 60's (in 
QED), just after my uni days. But SNOBOL used its own matching strings 
so didn't make a comeback till unix.


Michael



___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] 8.1.1. Find Transaction

2020-10-03 Thread David Carlson
We are't dead yet, and a couple of our approximate peers are actively
seeking terms in the white house.  One of them having tested positive for
Covid, hoping he will recover.

On Sat, Oct 3, 2020 at 10:02 AM Michael or Penny Novack <
stepbystepf...@comcast.net> wrote:

> On 10/2/2020 10:49 PM, David Carlson wrote:
> > ... including (especially,
> > with examples) exactly what regex means to those of us that went to
> school
> > before that term existed,.
>
> ROFLOL  in which case you are older than I am and I'm in my mid 70's
>
> It's not exactly a new term, dates to the 50's in mathematics. OK, math
> tends to run ahead of application, but unix and it's standard library
> dates to the late 70's and the "standard library of utilities" began
> with the find/mach replace utilities using "regular expressions" to
> express what was to be matched. "Regex" is simply the usual abbreviation.
>
> The earliest practical use with computers would have been late 60's (in
> QED), just after my uni days. But SNOBOL used its own matching strings
> so didn't make a comeback till unix.
>
> Michael
>
>
>
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>


-- 
David Carlson
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] 8.1.1. Find Transaction

2020-10-03 Thread Jamestk
Cheers for posting the bug, do we need to provide any further input (perhaps
a link to this thread) or is the description as posted enough?




David Carlson-4 wrote
> There you are, I graduated college in 1968.
> 
> Anyway I just created *Bug 797965*
> ; which is a RFE to
> a path
> that would resolve the core problem of this thread, and I invite comments
> there.
> 
> On Fri, Oct 2, 2020 at 10:02 PM Derek Atkins <

> derek@

> > wrote:
> 
>> You must be in your 60s or 70s (or older) if you think you were around
>> before the term regex was created.
>> The term regex (REGular EXpression) has been around at least since the
>> 80s
>> if not earlier.  It is a way to search for, well, a regular expression.
>> There are several resources for regex examples, and regex has been
>> standardized for many decades.
>> Happy hacking.
>>
>> -derek
>> Sent using my mobile device. Please excuse any typos.
>>
>> On October 2, 2020 10:50:45 PM David Carlson <

> david.carlson.417@

> >
>> wrote:
>>
>> Geoff,
>>>
>>> Thank you for the very nice description of how to implement the
>>> mechanics
>>> of an iterative search.  Now all we need is an easy to understand
>>> description of how each of the search criteria work, including
>>> (especially,
>>> with examples) exactly what regex means to those of us that went to
>>> school
>>> before that term existed, how to know exactly which split lines are
>>> searched and which split lines just come along for the ride into the
>>> results, and perhaps why the search dialog disappears, which was the
>>> original problem that started this thread.
>>>
>>> I can't seem to make the help for that dialog appear from the help
>>> button
>>> in that dialog.  I finally found the actual help in the F1 Help manual
>>> under Tools and Assistants > Find which completely glosses over the
>>> subjects in the previous paragraph.
>>>
>>> On Fri, Oct 2, 2020 at 7:49 PM Geoff <

> cleanoutmyshed@

> > wrote:
>>>
>>> Regardless of whether the search box disappears or not, GnuCash's
 "search within search results" feature is still pretty nifty.

 I've attached a screenshot showing four consecutive searches
 illustrating:
 New search (the other options are always disabled on the initial
 search)
 Add results to current search
 Refine current search
 Delete results from current search

 First search is to locate transactions with value less than 200.
 Second search is to add in transactions with value more than 800.
 Third search is to restrict to description containing "gnucash".
 Fourth search is to remove transactions posted on 26th September.

 (Harking back to our school days, I think we can say that GnuCash
 search
 provides the Set Theory equivalents of Union, Intersection, and
 Complement
 https://www.britannica.com/science/set-theory/Operations-on-sets.  But
 I
 digress.)

 The trick is to invoke the second and subsequent searches from the
 "Search Results" tab and not the Chart of Accounts.

 This is, of course, a simple example.  Any given search operation also
 lets you specify multiple criteria ("Add" button), and whether "all
 criteria" must be met or just "any criteria" ie AND or OR logic.

 James, I hope this tip improves your search results.

 Regards

 Geoff
 =
 Version: 4.1
 Build ID: 4.1+(2020-07-25)
 Finance::Quote: 1.49
 Windows 10


 On Sat, 26 Sep 2020 13:47:10 -0500 (CDT), Jamestk wrote:
 Hello good folks,

 I wanted to check if there was a simpler way when using the 'find
 transaction'feature repeatedly.

 When searching for transactions it normally involves a batch of
 invoices
 or
 receipts which are not showing withing reports, most often this is due
 to
 me
 selecting incorrect accounts or similar, easy way is to use find
 feature
 -

 Searches are basic, Select find from edit menu then opt for 'value'
 setting
 leaving all other criteria std, often this works but if it returns nil
 results you have to start over, is there anyway of saving the search or
 to
 edit and re-run the original without having to start from scratch?

 8.1 help file is okay but a bit technical in parts.

 Thanks,

>
> ___
 gnucash-user mailing list
 

> gnucash-user@

 To update your subscription preferences or to unsubscribe:
 https://lists.gnucash.org/mailman/listinfo/gnucash-user
 If you are using Nabble or Gmane, please see
 https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
 -
 Please remember to CC this list on all your replies.
 You can do this by using Reply-To-List or Reply-All.


>>>
>>> --
>>> David Carlson
>>> _

Re: [GNC] 8.1.1. Find Transaction

2020-10-03 Thread David Carlson
A link sounds like a good idea 💡

On Sat, Oct 3, 2020, 1:51 PM Jamestk  wrote:

> Cheers for posting the bug, do we need to provide any further input
> (perhaps
> a link to this thread) or is the description as posted enough?
>
>
>
>
> David Carlson-4 wrote
> > There you are, I graduated college in 1968.
> >
> > Anyway I just created *Bug 797965*
> > ; which is a RFE
> to
> > a path
> > that would resolve the core problem of this thread, and I invite comments
> > there.
> >
> > On Fri, Oct 2, 2020 at 10:02 PM Derek Atkins <
>
> > derek@
>
> > > wrote:
> >
> >> You must be in your 60s or 70s (or older) if you think you were around
> >> before the term regex was created.
> >> The term regex (REGular EXpression) has been around at least since the
> >> 80s
> >> if not earlier.  It is a way to search for, well, a regular expression.
> >> There are several resources for regex examples, and regex has been
> >> standardized for many decades.
> >> Happy hacking.
> >>
> >> -derek
> >> Sent using my mobile device. Please excuse any typos.
> >>
> >> On October 2, 2020 10:50:45 PM David Carlson <
>
> > david.carlson.417@
>
> > >
> >> wrote:
> >>
> >> Geoff,
> >>>
> >>> Thank you for the very nice description of how to implement the
> >>> mechanics
> >>> of an iterative search.  Now all we need is an easy to understand
> >>> description of how each of the search criteria work, including
> >>> (especially,
> >>> with examples) exactly what regex means to those of us that went to
> >>> school
> >>> before that term existed, how to know exactly which split lines are
> >>> searched and which split lines just come along for the ride into the
> >>> results, and perhaps why the search dialog disappears, which was the
> >>> original problem that started this thread.
> >>>
> >>> I can't seem to make the help for that dialog appear from the help
> >>> button
> >>> in that dialog.  I finally found the actual help in the F1 Help manual
> >>> under Tools and Assistants > Find which completely glosses over the
> >>> subjects in the previous paragraph.
> >>>
> >>> On Fri, Oct 2, 2020 at 7:49 PM Geoff <
>
> > cleanoutmyshed@
>
> > > wrote:
> >>>
> >>> Regardless of whether the search box disappears or not, GnuCash's
>  "search within search results" feature is still pretty nifty.
> 
>  I've attached a screenshot showing four consecutive searches
>  illustrating:
>  New search (the other options are always disabled on the initial
>  search)
>  Add results to current search
>  Refine current search
>  Delete results from current search
> 
>  First search is to locate transactions with value less than 200.
>  Second search is to add in transactions with value more than 800.
>  Third search is to restrict to description containing "gnucash".
>  Fourth search is to remove transactions posted on 26th September.
> 
>  (Harking back to our school days, I think we can say that GnuCash
>  search
>  provides the Set Theory equivalents of Union, Intersection, and
>  Complement
>  https://www.britannica.com/science/set-theory/Operations-on-sets.
> But
>  I
>  digress.)
> 
>  The trick is to invoke the second and subsequent searches from the
>  "Search Results" tab and not the Chart of Accounts.
> 
>  This is, of course, a simple example.  Any given search operation also
>  lets you specify multiple criteria ("Add" button), and whether "all
>  criteria" must be met or just "any criteria" ie AND or OR logic.
> 
>  James, I hope this tip improves your search results.
> 
>  Regards
> 
>  Geoff
>  =
>  Version: 4.1
>  Build ID: 4.1+(2020-07-25)
>  Finance::Quote: 1.49
>  Windows 10
> 
> 
>  On Sat, 26 Sep 2020 13:47:10 -0500 (CDT), Jamestk wrote:
>  Hello good folks,
> 
>  I wanted to check if there was a simpler way when using the 'find
>  transaction'feature repeatedly.
> 
>  When searching for transactions it normally involves a batch of
>  invoices
>  or
>  receipts which are not showing withing reports, most often this is due
>  to
>  me
>  selecting incorrect accounts or similar, easy way is to use find
>  feature
>  -
> 
>  Searches are basic, Select find from edit menu then opt for 'value'
>  setting
>  leaving all other criteria std, often this works but if it returns nil
>  results you have to start over, is there anyway of saving the search
> or
>  to
>  edit and re-run the original without having to start from scratch?
> 
>  8.1 help file is okay but a bit technical in parts.
> 
>  Thanks,
> 
> >
> > ___
>  gnucash-user mailing list
> 
>
> > gnucash-user@
>
>  To update your subscription preferences or to unsubscribe:
>  https://lists.gnucash.org/mailm

Re: [GNC] Gnucash files on a thumb drive?

2020-10-03 Thread Jamestk
Find the location of where your data file is stored then copy and paste,
pretty straightforward but your accountant will need a copy of GNU Cash to
view the files.

Another option is to export files as HTML via reports, from there you can
copy and paste into spreadsheets which is a bit more universal .



--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] 8.1.1. Find Transaction

2020-10-03 Thread Michael or Penny Novack

On 10/3/2020 11:19 AM, David Carlson wrote:
We are't dead yet, and a couple of our approximate peers are actively 
seeking terms in the white house.  One of them having tested positive 
for Covid, hoping he will recover.



I am going to add something. Matching strings using "regular 
expressions" is VERY powerful. But as is common with powerful tools, 
there is a non-trivial learning curve. It might not take you learn how 
to create the right regex for simple matches. Then somewhat longer to 
ensure that they not only match what you want them to (no misses) but 
also not match what anything else (false positives). The latter is not 
so worrisome if you are just doing a "find", then "find next" as you can 
skip over the "errors". But if that were a find/replace operation ..


But it might take you a much longer time to learn to correctly match say 
"all words starting with the letter "b", either upper lower case, second 
letter lower case "e", and ending in "ing". Thus should match "being", 
"becoming", "beekeeping", etc. but not "unbecoming" or "be thinking".


Expect to be testing/debugging your regular expressions, at least at the 
start.


Michael D Novack



___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Stock Levels

2020-10-03 Thread doncram
A bit unfair i think.  I was referring to GnuCash + a spreadsheet, not just
GnuCash.  It takes some words to explicitly state how inventory accounting
works anywhere, especially if mentioning alternative approaches.  And I am
trying to put forward a workable solution for a potential GnuCash user
rather than pushing them away.

But i did try Quickbooks Desktop Pro for how they do inventory, and I still
pretty much dislike it though I just had a tiny bit more success.  Seems
one can change incoming and outgoing prices of an inventory item at any
time, then the new price(s) stick.  The software apparently applies average
costing to reprice all items currently in inventory immediately upon
purchase of any new item at a different price.  I think that's not actually
an option taught in accounting courses/textbooks so maybe it is not
strictly legit;  in textbooks I think average costing is applied only at
the end of an accounting period in valuing ending inventory and
transactions during the period. The Quickbooks help system says go buy or
subscribe to higher level Desktop Pro Enterprise if you want to apply
FIFO.  I think LIFO (also to be done at end of month) and Specific
Identification are not supported at all in Q, while I think they could be
done straightforwardly in a spreadsheet.

Don

On Fri, Oct 2, 2020 at 3:35 PM David Carlson 
wrote:

> doncram, I think that you contradicted yourself when you said GnuCash
> supports inventory control then described how difficult it is to emulate a
> few of the most basic features of inventory control.
>
> On Fri, Oct 2, 2020 at 4:21 PM doncram  wrote:
>
>> Hi Frederick & others -- It has often been said in this email forum that
>> GnuCash doesn't support inventory, but I think that's basically wrong.
>> What I mean is that while GnuCash has no separate inventory module as are
>> available in some versions of Quickbooks, say, one can use GnuCash + a
>> supporting spreadsheet (in Excel or freeware LibreOffice Calc which both
>> have some database features) perfectly well for accounting for a business
>> with inventory.  A few demonstrations/examples are needed to provide for
>> arriving potential users though.
>>
>> A simple approach which might work especially if there are not too many
>> transactions could work as follows:
>>
>> *When purchasing inventory, perhaps of a few different types*:
>> a) enter transaction into GnuCash as increasing one big Inventory account
>> and decreasing cash without any detail about numbers of units of what
>> types, just reference the invoice or sales receipt which you file into a
>> Vendor file.
>> b) in the spreadsheet create rows as needed for each the different types
>> of
>> inventory (say Barnevelder chickens and Chantecler chickens) and in three
>> new columns for the purchases record the numbers and prices paid and total
>> dollars paid for each
>> Repeat as new transactions happen, adding 3 columns each time.
>> Keep one column carrying the sum of all purchases as an estimate of
>> current
>> value of each type, with a sum at bottom reporting the total value of
>> inventory.
>>
>> *At the end of a month or other accounting period*, do an inventory
>> inspection and record in a new set of 3 columns the number of each type
>> which you count, a price per unit (perhaps use the original or the last
>> purchase price, or a new estimate of your own based on what you see and
>> know), and a calculated current total dollars value.  Perhaps some units
>> will have been lost or some new chicks have been hatched and some prices
>> will have changed, so the sum of value of current inventory will be lower
>> or higher.  Then update your financial value in Quickbooks to reflect the
>> amount of that change:  increase or decrease "Inventory" value and
>> recognize a gain (say "Gain from Inventory growth") as income or a loss
>> (say "Loss from Inventory decline") as expense.
>>
>> Also *whenever you sell any units*, add three columns for the numbers
>> sold,
>> the price per unit, the dollars yielded.  In GnuCash enter an increase in
>> cash and recognize "Revenue from sale of chickens" or whatever.
>>
>> In your business, you will also record expenses for operating costs, and
>> any revenues from sales of eggs say, and in the Income Statement for a
>> given period you will see whether you have made a profit or loss on the
>> period.  In this approach, with your counting and revaluing your inventory
>> to roughly a current market value each period, profit can be shown due to
>> gains in value even if there have not been any sales.  As suggested here,
>> the spreadsheet would tend to expand to the right.  But perhaps that is
>> fine, as after all there is no shortage of empty columns available in any
>> spreadsheet nowadays.
>>
>> Note there are many possible different implementations.  One could have
>> GnuCash inventories for each type of chicken, so values for each type
>> would
>> appear in your Balance Sheet, though at cost of requiring m

Re: [GNC] Standard chart of accounts?

2020-10-03 Thread doncram
Hi Ken Brown, I think that you need what you asked for, a good Chart of
Accounts example, which you will implement into a new GnuCash entity.  How
about the following Chart of Accounts, designed by me just now for a single
person in the United States with some regular salary income plus some
income from a part-time home business that is a sole proprietorship, so the
person just files regular individual taxes at the end of the year, but with
a schedule reporting their business income.  In the U.S. that would mean
they file an individual 1040 form with a Schedule C: "Profit or Loss from
Business".  The person doesn't need or have a separate bank account for the
business, but they do need to track expenses in a way that supports their
maximizing the allowable deductions (expenses accepted by the taxing
authority) in the business income schedule.  I further suppose the person
uses their personal vehicle sometimes for business purposes, and they track
or estimate their mileage that is business-related.  And they will claim
expenses for their business's use of the home, which occupies, say, 20
percent of the home's square footage.  This doesn't matter, but I am
supposing the part-time business is something craftsy like quilt-making,
with the finished product sold on Etsy or similar online marketplace, and
the business has some capital equipment, such as a quilting machine, and
has inventory of materials and supplies.

First, you must consult the tax forms that you will need to complete at the
end of the year.  The  Schedule C in the U.S. requires separate reporting
of various specific types of business expenses including Advertising, Car
and Truck expenses, Insurance, Interest, Legal and professional services,
Office expense, Rent, Supplies, Taxes and licenses, Travel, Deductible
meals, and some other types, in its Part II, so you will want to separately
track what you spend for those exact types of expenses directly, or
otherwise track what you need in order to fill out those lines of the tax
form.  Home office expense is a calculation based on square footage or
requiring a different tax form.

Note that in the U.S. only 50 percent of business-related Meals &
Entertainment expenses can be deducted, but you want to track all of that
type of expense so that you have documentation for what you will claim as
allowable.  (Save your receipts and keep records, perhaps annotated onto
the receipts or perhaps better written onto a traditional hard-copy
calendar, giving names of persons you met and what business topic was
discussed.) For business-related Travel, perhaps all of your airfares and
car rental and hotel costs for a business trip would be allowed, but there
are specific guidelines in the U.S. about an allowable per diem rate for
meals and there are differences for first and last day of travel vs. days
in-between. (Keep receipts and suitable records for this too.)  For
automotive expense, in the U.S. the person may choose between claiming
actual expenses of gas, car insurance, car repairs, etc., vs. claiming an
allowance based on their recorded business-related mileage times a standard
rate which in 2020 is 57.5 cents per mile.  I'm not positive, but I think
if you are claiming actual expenses, then you still need to track your
business vs. personal mileage so you can apply the business mileage
percentage times the actual car repairs, etc.  The chart of accounts should
help you track your actual car expenses, although that will be different
than what is allowable for you to charge in the business profit and loss
schedule.

Note Part I in the U.S. Schedule C requires you to report the business's
Gross Sales, and any Allowances and Returns, and Cost of Goods Sold
(COGS).  Part III calculates COGS based on beginning-of-year and
end-of-year inventory of Materials and Supplies for making the product,
Purchases of Materials and Supplies less cost of any items withdrawn for
personal use, and some other costs.

Finally, when you compose your Chart of Accounts you want it to be
organized sensibly for your purposes, so you must use account numbers to
control the order of items in the basic financial statements (Balance Sheet
and Income Statement in GnuCash, while unfortunately GnuCash does not
support reporting of the 3rd basic statement, the Statement of Cash
Flows).  Use a standard approach to numbering, with 1000's being for
Assets, 2000's for Liabilities, 3000's for Equity, 4000's for Revenues,
5000's for Expenses.

So here goes:
1000 Assets
1100 Cash on hand
1200 Checking account
1300 Savings account
1400 Accounts receivable (business)
1500 Inventory of materials and supplies (business)
1500 Equipment (business)
2000 Liabilities
2100 Accounts payable (business)
3000 Equity
3100 Owner's equity
4000 Revenues
4100 Salary (from a job not part of business)
4200 Sales of product (business)
4800 Interest income
5000 Expenses that are all or mostly business
5100 Advertising
5100 Contract labor (business, amount paid to indep

[GNC] win10/mysql/error

2020-10-03 Thread xuhengx...@outlook.com
Dear Sir/Medam ,



I change my computer ,

Win10 2004



Gnucash : the last

Version: 4.2

Build ID: 4.2+(2020-09-26)

Finance::Quote: -



Mysql : the last mysql  Ver 8.0.21 for Win64 on x86_64 (MySQL Community Server 
- GPL)

[cid:image001.png@01D699A1.5EF35CC0]



[cid:image002.png@01D699A2.59C06120]

Thanks & Best Regards / kerwin
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


[GNC] Solving printer issues

2020-10-03 Thread Anita Graves via gnucash-user
Hello Gnucash people,

I need to know how to program Gnucash so that the printer doesn’t cut lines in 
half.  I use A4 size paper and don’t know where in Gnucash one can set margins. 
 Is Gnucash programmed only for letter size paper?   My documents and pdfs all 
cut the lines in half at the end of a page and I have tried many things to fix 
it.

Thank you for your help!

Anita Graves

smime.p7s
Description: S/MIME cryptographic signature
___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] Split Transactions

2020-10-03 Thread Norman Jessup

Thanks David,

I tried aggregating the two amounts on the asset side and, as you 
suggest, it resulted in a single entry in the asset register. However, 
the duplicate entries in the Income register remain.


As this is an artefact (bug?) of GnuCash I decided that the only thing 
to do is to use separate transactions for the base and bonus interest 
payments.  This still results in two transactions per month, but at 
least the  numbers themselves are not duplicated, and I can give the two 
transactions different labels for identification.


Thanks again for your feedback.

On 2/10/20 8:18 am, David Carlson wrote:

Normanj,
What you are seeing is a normal artifact of GnuCash that appears when 
there is more than one split line for the account in which you are 
viewing the transaction.  If you 'jump' to another account in the 
transaction, you will see as many transactions as there are split 
lines for that account. Usually you will only enter a single net 
amount on the asset side for the sum of the incomes, then there would 
only be one transaction in the asset register view.


On Thu, Oct 1, 2020 at 4:41 PM normanj > wrote:


I've been using Gnucash for a few years, but I'm far from being an
expert
user.

One of my accounts is for a savings account which pays a monthly
interest
and, subject to some conditions, a "bonus" interest payment. The
bank used
to report these as a single monthly payment so entering these into
Gnucash
was a straightforward transaction - a assets account for the
balance and an
income account for the interest.

The bank has started reporting the base and bonus interest payments
separately, and my first thought was to use a split transaction - two
payments for the interest and two corresponding entries into the asset
account.  However, when I save the transaction it is shown as two
split
transactions, each showing the same 4 numbers for both the regular and
"bonus" interest, though the asset account balance is correct. 
Any change I
make to one transaction, including deletion, is immediately
reflected in the
other transaction.

To my inexpert eye this seems quite odd.  The only way I can see
to fix this
is to delete the impacted transactions and re-enter the "ordinary" and
"bonus" payments separately, though as they are directly linked
there is an
obvious benefit in having everything in one transaction.

Can anyone kindly advise if this is normal behaviour and is there
a better
way to do this?  If it makes a difference I use a mac and upgraded to
Gnucash 3.6 earlier in year (as it happens, about the same time
the bank
chnged its reporting format)

Thank you.  Despite this hiccup, I've found Gnucash to be an
excellent tool.



--
Sent from:
http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html

___
gnucash-user mailing list
gnucash-user@gnucash.org 
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user

If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists
 for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.



--
David Carlson

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: [GNC] 8.1.1. Find Transaction

2020-10-03 Thread Peter West
Regular expressions are beautiful and powerful things. Perl (the language) was 
a laboratory for extending the reach of REs. In your travels you may come 
across PCRE regular expressions; that is Perl Compatible Regular Expressions. 
They are stunning.

Once you get the hang of even basic REs, you’ll wonder how you ever made do 
without them.

Make sure to get yourself a text editor with good RE support, because they are 
enormously useful for editing text.


--
Peter West
p...@pbw.id.au
“…whoever causes one of these little ones who believe in me to sin, it would be 
better for him to have a great millstone fastened around his neck and to be 
drowned in the depth of the sea.”

> On 4 Oct 2020, at 6:15 am, Michael or Penny Novack 
>  wrote:
> 
> On 10/3/2020 11:19 AM, David Carlson wrote:
>> We are't dead yet, and a couple of our approximate peers are actively 
>> seeking terms in the white house.  One of them having tested positive for 
>> Covid, hoping he will recover.
> 
> 
> I am going to add something. Matching strings using "regular expressions" is 
> VERY powerful. But as is common with powerful tools, there is a non-trivial 
> learning curve. It might not take you learn how to create the right regex for 
> simple matches. Then somewhat longer to ensure that they not only match what 
> you want them to (no misses) but also not match what anything else (false 
> positives). The latter is not so worrisome if you are just doing a "find", 
> then "find next" as you can skip over the "errors". But if that were a 
> find/replace operation ..
> 
> But it might take you a much longer time to learn to correctly match say "all 
> words starting with the letter "b", either upper lower case, second letter 
> lower case "e", and ending in "ing". Thus should match "being", "becoming", 
> "beekeeping", etc. but not "unbecoming" or "be thinking".
> 
> Expect to be testing/debugging your regular expressions, at least at the 
> start.
> 
> Michael D Novack
> 
> 
> 
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see 
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

___
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.