I've never used "?s" personally, but I'd try at the beginning of your
expression string first.  It is supposed to tell the Pattern to treat the
string as a single line...


On Thu, Apr 16, 2020 at 11:24 AM Lon Varscsak <lon.varsc...@gmail.com>
wrote:

> It's simply %string%.  I can try that.
>
> On Thu, Apr 16, 2020 at 7:21 AM Michael Gentry <blackn...@gmail.com>
> wrote:
>
> > Hi Lon,
> >
> > What does your pattern look like?  Did you try adding a "?s" to your
> > expression?
> >
> >
> > On Wed, Apr 15, 2020 at 11:05 PM Lon Varscsak <lon.varsc...@gmail.com>
> > wrote:
> >
> > > Hey all, trying to use likeIgnoreCase on an in-memory list and it
> appears
> > > not to work if there is a new line in the text.  The Pattern would need
> > > Pattern.DOTALL as a flat to work properly. Would you consider this a
> bug?
> > >
> > > -Lon
> > >
> >
>

Reply via email to