Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #39192

Re: Because ramine plugging comp.programming with spam....

From Martin Gregorie <martin@mydomain.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Because ramine plugging comp.programming with spam....
Date 2019-11-27 15:02 +0000
Organization A noiseless patient Spider
Message-ID <qrm36q$st3$1@dont-email.me> (permalink)
References <64859ebd-4194-4b36-ae6b-80135a519db2@googlegroups.com> <qrlupk$7r7$1@dont-email.me> <f507ddcf-f390-43d2-871f-bb2dcd1586c0@googlegroups.com>

Show all headers | View raw


On Wed, 27 Nov 2019 05:59:56 -0800, chad altenburg wrote:

> On Wednesday, November 27, 2019 at 5:47:43 AM UTC-8, Martin Gregorie
> wrote:
>> On Wed, 27 Nov 2019 05:32:25 -0800, chad altenburg wrote:
>> 
>> > The question is how come having a lowercase in "a" in 1 produces the
>> > entire word while the lowercase "a" in 2 doesn't? Ie, I have to
>> > change it uppercase in order to get the correct result.
>> >
>> What program are you using to do the search?
>> 
>> Which family of regexes does it use?
>> 
>> The regexes used by grep and awk differ from Perl regexes, which in
>> turn are different from Java regexes.
>> 
>> 
> I'm using the Java IDE that comes with Android Studio for Windows 10.
>
If the IDE is written in Java, hopefully it will be using standard Java 
regexes and so should work as described in the Javadocs for the Pattern 
and Matcher classes. I had a quick scan of the Javadoc pages but didn't 
see any references to the case sensitivity you describe, but may have 
missed it.

The other possibility is that Android Studio just a reconfigured or 
tweaked version of Windows 10 Visual Studio, in which case you need to 
look at its manual to see how its regexes work. If that's the case I 
can't help any further since I haven't used Windows since 2003. 


-- 
Martin    | martin at
Gregorie  | gregorie dot org

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Because ramine plugging comp.programming with spam.... chad altenburg <cdalten@gmail.com> - 2019-11-27 05:32 -0800
  Re: Because ramine plugging comp.programming with spam.... Martin Gregorie <martin@mydomain.invalid> - 2019-11-27 13:47 +0000
    Re: Because ramine plugging comp.programming with spam.... chad altenburg <cdalten@gmail.com> - 2019-11-27 05:59 -0800
      Re: Because ramine plugging comp.programming with spam.... Martin Gregorie <martin@mydomain.invalid> - 2019-11-27 15:02 +0000
        Re: Because ramine plugging comp.programming with spam.... Arne Vajhøj <arne@vajhoej.dk> - 2019-11-27 18:22 -0500
          Re: Because ramine plugging comp.programming with spam.... Martin Gregorie <martin@mydomain.invalid> - 2019-11-27 23:38 +0000
            Re: Because ramine plugging comp.programming with spam.... Arne Vajhøj <arne@vajhoej.dk> - 2019-11-27 20:26 -0500
              Re: Because ramine plugging comp.programming with spam.... chad altenburg <cdalten@gmail.com> - 2019-11-28 08:15 -0800
                Re: Because ramine plugging comp.programming with spam.... chad altenburg <cdalten@gmail.com> - 2019-12-10 10:28 -0800
                Re: Because ramine plugging comp.programming with spam.... chad altenburg <cdalten@gmail.com> - 2019-12-10 10:29 -0800
  Re: Because ramine plugging comp.programming with spam.... Daniele Futtorovic <da.futt.news@laposte-dot-net.invalid> - 2019-11-27 20:09 +0100
    Re: Because ramine plugging comp.programming with spam.... Arne Vajhøj <arne@vajhoej.dk> - 2019-11-27 18:23 -0500
  Re: Because ramine plugging comp.programming with spam.... Arne Vajhøj <arne@vajhoej.dk> - 2019-11-27 18:31 -0500
    Re: Because ramine plugging comp.programming with spam.... Martin Gregorie <martin@mydomain.invalid> - 2019-11-27 23:41 +0000

csiph-web