Limiting the consecutive occurrence
#42
@Pixel

Thanks for the code !!!

I realise what I had done wrong now, I was filtering way to hard. I also had never tried starting with anything other than A so obviously there was a lot to delete before getting any hits.

I have reduced my filtering somewhat and starting from B it now works, thank you for your help.

M@lik
Please see above, thats what I was doing wrong...thanks.

OK I have some Regular Expression code to share here which as I said before is almost exactly like M@liks but not for SED. I had to take out the backslash for my interpreter to work.

This bit is the consecutive one.
Code:
(.)\1

This bit is for n occurrences per line.
Code:
(.).*\1

The reason these may be useful is that they can be used to filter an already generated list.... Hope it helps.

On the subject of how hard to filter can I get some agreement from you two ?

It would seem that we should allow 2 consecutive characters together and no more than 2 per line. Do you both agree ? I think any more or less defeats the object of filtering.


However I do like Pixels idea about not allowing consecutive alphabetical order either. Nice one ! Big Grin

Comments please...


Messages In This Thread
Limiting the consecutive occurrence - by Hash-IT - 05-23-2012, 12:38 AM
RE: Limiting the consecutive occurrence - by ntk - 05-27-2012, 01:28 PM
RE: Limiting the consecutive occurrence - by TAPE - 05-27-2012, 11:36 PM
RE: Limiting the consecutive occurrence - by ntk - 05-28-2012, 09:57 AM
RE: Limiting the consecutive occurrence - by Hash-IT - 05-28-2012, 02:29 PM
RE: Limiting the consecutive occurrence - by ntk - 05-29-2012, 12:12 AM
RE: Limiting the consecutive occurrence - by ntk - 05-29-2012, 02:19 AM
RE: Limiting the consecutive occurrence - by ntk - 05-29-2012, 04:02 AM
RE: Limiting the consecutive occurrence - by ntk - 05-30-2012, 10:11 AM
RE: Limiting the consecutive occurrence - by ntk - 06-01-2012, 11:30 PM
RE: Limiting the consecutive occurrence - by ntk - 06-02-2012, 10:48 AM
RE: Limiting the consecutive occurrence - by ntk - 06-03-2012, 12:56 AM
RE: Limiting the consecutive occurrence - by ntk - 06-03-2012, 01:07 PM
RE: Limiting the consecutive occurrence - by ntk - 06-03-2012, 02:14 PM
RE: Limiting the consecutive occurrence - by ntk - 06-05-2012, 02:08 AM
RE: Limiting the consecutive occurrence - by ntk - 06-05-2012, 02:48 AM
RE: Limiting the consecutive occurrence - by aGia - 06-07-2012, 11:26 PM
RE: Limiting the consecutive occurrence - by ntk - 06-08-2012, 12:13 AM
RE: Limiting the consecutive occurrence - by aGia - 06-08-2012, 12:24 AM
RE: Limiting the consecutive occurrence - by ntk - 06-08-2012, 12:29 AM
RE: Limiting the consecutive occurrence - by ntk - 06-08-2012, 01:52 AM
RE: Limiting the consecutive occurrence - by d333 - 09-04-2012, 01:56 PM
RE: Limiting the consecutive occurrence - by atom - 09-04-2012, 02:04 PM