Is this a RegExp bug??? Matching double letters inside words...

I'm trying to match double letters inside words, excluding ones that begin or end a word.  I'm running into a problem matching \B at the end of a line.
example:
My RegExp is /\Bdd\B/gi
String is "dda adda add add"
This will match twice, the dd in the 2nd word, and the dd in the 4th word.  Why is it matching the 4th word??

It matches only once. Make sure there are no other characters in the end of your string.

Similar Messages

  • If I am viewing a page with the words date or match, the words are hyperlinks to a dating website. This is not so if I view the same pages in IE and has not been picked up by Norton, Spybot or malware bytes etc. Is this a Firefox bug?

    If I am viewing a page with the words date or match, the words are hyperlinks to a dating website. This is not so if I view the same pages in IE and has not been picked up by Norton, Spybot or malware bytes etc. Is this a Firefox bug?

    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Problem with Arabic font: In certain contexts, when writing Arabic with vowel signs (fatha, damma, kasra, sukun) a sequence of sukun   fatha/damma etc. would reverse automatically. Is this a known bug?

    Problem with Arabic font: In certain contexts, when writing Arabic with vowel signs (fatha, damma, kasra, sukun) a sequence of sukun + fatha/damma etc. would reverse automatically. Is this a known bug?
    Example: عَيْنٌ
    would automatically convert to عَيُنْ
    Funnily, it doesn't seem to happen here, but it does when entering text in a web interface (using Firefox, font Bayan) and when using Text Edit.
    Seems to be a problem of a specific font, as e.g. Arial MS Unicode works fine. Any hints?
    Thank you!

    Musaafir wrote:
    I've no idea how i can even start using arabic vowels on Microsoft Word for Apple
    You can't do Arabic on MS Word for Mac.  This app has never supported RTL scripts, so you need to use something else.  Mellel is best, but Pages 5, TextEdit, Nisus Writer, Open/LibreOffice should work OK.
    You switch between languages by using the "flag" menu at the top right of the screen or by using the keyboard shortcuts apple/command plus space.  Go to system prefs/keyboard/shortcuts to make sure that is activated.
    To see which key does what, you use Keyboard  Viewer.
    http://support.apple.com/kb/PH13746
    You place vowels on letters by typing the key for the vowel after the key for the letter.  The vowels are on the option/alt keys, option/alt + a gives you َ

  • I think that this is a bug in text field!

    Hi!
    Steps:
    1.create Frame
    2.create text field (textFieldTest1) and add in frame
    3.create text field (textFieldTest2) and add in frame.
    4. show frame
    5.enter some text in textFieldTest1 and stay here.
    6.Minimize frame.
    7.Open again frame
    8.The caret is invisible in textFieldTest1. I double click in textFieldTest1 but caret don't show. I can enter text again in textFieldTest1 but caret is invisible. I press left and right arrows in textFieldTest1 and enter text, but caret is invisible.It's very confuse.
    9.Click mouse in textFieldTest2
    10.Click mouse in textFieldTest1 and caret is now visible.
    I think that this is a bug in swing.
    What are think about this?
    Thank you.

    I meant for you to include code that I could cut and paste and execute to see if I had the same problem on my machine. I had to play with the code you gave to get it to compile. Make it easy for me to test. Anyway I did get it to compile and again it did work for me. here is the code I ended up testing:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class Main extends JFrame
         public Main()
    super("Time");
    setBounds(300, 200, 400, 200);
    Container cont = this.getContentPane();
    cont.setLayout(new GridBagLayout());
    setDefaultCloseOperation(this.EXIT_ON_CLOSE);
    JTextField textField1 = new JTextField(10);
    cont.add(textField1);
    cont.add(new JLabel("label1"));
    JTextField textField2 = new JTextField(10);
    cont.add(textField2);
    cont.add(new JLabel("label2"));
    setVisible(true);
         public static void main(String[] args)
              JFrame frame = new Main();

  • Is this a PowerPivot Bug, or am I doing something wrong?

    I am working on a PowerPivot data model. I am having problems with 2 slicers that are not behaving as I would expect. I have double checked everything and I think I have done it right. So why don't they correctly show when there is no visible data based
    on the selection?
    I have created this video to show the problem.  I would appreciate any help, or advice if this is a bug.
    http://exceleratorcbs.com.au/files/slicers%20not%20working_edit.wmv

    Gerhard, thanks for your response.  In replying to you post below, I discovered some more information and "sort of" got it to work, but I still don't understand the issue.
    If you look at my video at 2:11 mark, you will see the following structure
    Sales_Data => Branch_State => State
    The sales data is at the branch level.   Each Branch is only in one state.  The state table exits because it is connected down one path to Sales_Data but via another path to Weekly_Promotions.  The weekly promotions
    are only stored at the State level, not the branch level, so I need this structure.
    So if I use the State field from the Branch_State table for my slicer, it works - that is why I just discovered when I was replying here.  But I don't know why the higher level State only slicer doesn't work. 

  • Outlook 2013 Rules issue when more than 50 rules exist ("The rules on this computer do not match the rules on Microsoft Exchange").

    I think I may have found a bug.
    My Outlook 2013 profile has more than 75 rules. When I started testing Outlook 2013, I got the message "The rules on this computer do not match the rules on Microsoft Exchange. Only one set of rules can be kept. You will usually want to keep the rules
    on the server. Which rules do you want to keep?"
    I did the following troubleshooting:
    1. I created a new Outlook profile. This didn't fix the issue.
    2. I exported my rules, cleared them using "outlook /cleanrules", then reimported the rules. This didn't fix the issue.
    3. I cleared the rules again (outlook /cleanrules), then hand-entered the rules. This also didn't fix the issue.
    4. I reduced the number of rules to less than 50. This FIXED the problem.
    5. When I entered rule #51, the problem came back. When I removed ruled #51, the problem was again fixed.
    Does anyone know of a fix or workaround to this issue?
    Thanks.

    Sounds like you went over your "rule quota limit" as you do have a great number of rules.  Please see the link below for cause and possible resolution.
    http://support.microsoft.com/kb/886616
    Be kind and Mark as Answer if I helped.

  • Ipad keyboard double letters

    Hi,
    When typing on my iPad keyboard sometimes it types double letters instead of just one letter. For example if I write Chelsea it will sometimes type Cheelseea. The problem is not unique to one letter.
    I have rebooted iPad but problem persists. Can anyone recommend a fix?
    Thanks.

    Over a year ago and no answers. Did you ever get this fixed? I have the same problem.

  • Double letters

    My iphone keeps typing double letters and doesn't always respond when I tap on icons.

    I've got the exact same problem.  Have had a 3GS since it came out no problems.  Purchased a new iPhone 4 yesterday and cannot type anything, texts, emails, notes, even my pin code double clicks but doesn't appear until you type the next letter... thereby getting two or more of the same "touched" number/letter... icons sometimes need more than one/two taps before it registers... swiping doesn't always work and whilst typing if you press the backspace/delete button it continues to delete until you press space or another key... it's driving me absolutely nuts... the only reason I'm writing on here is because it's too early to call the store where I purchased the phone to speak to someone there... infuriating... ultra sensitivity this cannot be... I've read too many other posts in forums to say that this looks like an inherent problem... I loved my 3GS and it took all my resistence to succumb to iphone 4 as I want to use FaceTalk with my son in Thailand... had 3GS had such an app I wouldn't have changed for the world!! Hindsight, what a great thing! 

  • IPad typing causes double letters

    When typing on the iPad the letter n and u frequently result in double letters also n can produce nm or mn also full stops can appear at random.
    Are there any solutions to this problem?

    Boot into Safe Mode, Mac OS X: Starting up in Safe Mode, and see if the problem persists there.  If not then reboot normally and try again.

  • Q10 double letters while typing

    Good day,
    I presently have a Q10, had it for a little over a year, I was given this by my company in Australia, I presently work in Indonesia but live in Canada. While typing the keyboard has a tendancy to double up on letters, I have noted via the forums that this is a common problem. Now I cannot take the phone back to Australia, not sure I want to turn it in here in Indonesia (I am very far from a large center) but I do live in Canada. If I take this phone to Telus or someone like that will they hounor it and have it repaired, again this is a common problem so obviously a design problem.
    What the heck should I do to get this sorted.
    Thank you for your time
    Dave

    Northsky wrote:
    I am having the same problem with my Q10... it is only a little over a year old as well.  It is an issue that just started maybe a few months ago.  I thought it was something I was doing, but it continues.    I tried looking in the settings to see if t there was something to to adjust the keypad touch settings, but I cannot find it.   I gave up erasing an retyping words with double letters.....  It is driving me crazy!!!!!  
    I am also having an issue with my phone phone restarting if I drop it down on the table (no not dropping it down hard).  I have a hard case on the phone. So it is protected and I don't abuse my phone.  
    I like Blackberry, but I am definitely getting frustrated with this whole thing.  
    I was hoping this latest software upgrade (Feb 2015)  would resolve the problem but it didn't. 
    Hello,
    Given your two symptoms, I would deduce something physical is the problem...a hardware fault, defect, something broken inside, etc. However, hardware problems are of course impossible to truly diagnose at an internet distance...only in person evaluation by a qualified BB hardware technician can provide you with a true diagnosis (and hopefully also a remedy).
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Keyboard intermitte​ntly typing double letters and numbers

    My Pavilion laptop intermittently types double letters.  I'm running windows 8.1 and the unit is about 6 weeks old.  It has done this eever since I got it.  I've look at other links to problems similar and checked the double key rate.  Also I've pluged in a generic keyboard and it appears not to do it.  
    Any specific suggestions?
    Thanks

    This is usually an easy problem to fix with HP laptops
    HP keyboards are bit different that what MS default settings expect. Usually this can be fixed in keyboard settings.  In Windows 7 click the orb, in windows 8 bring up the menu OR just tap the Windows key if its on a keyboard
    type in "keyboard" and click to keyboard [settings]
    You may find the default Repeat dalay is the lowest possible setting. This rate is too short for the sensitivity of HP keyboards as the key signals down before its fully pressed, and doesn't stop until its halfway up.  Very clean, accurate keypress, mistaken for a hold.
    Turn the delay up (Long) and this should stop it.
    (I tried for weeks to find this in BIOS, but as of Windows 7 its now controlled by the OS)

  • Safari keeps typing double letters

    I'm using Safari for Windows (5.1.1) and it keeps typing double letters in web forms, etc. - although it does stop when I reboot the browser.  Any help will be much appreciated.

    Solution Found:
    The culprit was Keyscrambler, an anti-keylogging prog made by QFX Software.
    When Keyscrambler was active, the double-letter thing happened when typing into any Safari form fields. Disabling Keyscrambler solved the problem.
    I discovered this accidentally by going to XP's Control Panel > System > Hardware > Device Manager > Keyboards, and looking at the driver details for my Logitec USB keyboard. The Keyscrambler driver was listed there so I thought there might be a connection. And there was.
    I see a number of Safari double-letter complaints on the web and your particular reason for this fault may be different to mine. I've notified QFX about the fault.

  • Keeps typing double letters in when entering the password for my Mac Username.

    Macbook Pro just started typing double letters ONLY when typing the password for my Mac User sign up.  It only does it for the area that I need to enter the password, and even types fine for the username area that's on the same screen.  Even tried typing each one (which shows a double type) and backacing each couble letter, but it still says invalid. Need to get this fixed for work tomorrow.. Does anyone have any idea how to fix this?

    Try resetting your Apple ID password.
    Apple - My Apple ID
    Then restart your Mac.

  • MX432 printing "shadow/double" letters, words, sentences, etc... making the text unreadable.

    My MX 432 started printing "shadow/double" letters, words, sentences, etc from all programs making the text unreadable. Is this fixable or do I have to replace it?

    Hi, gpglinton!
    To ensure the most accurate information is provided, we will need to know the printer model you are using and the version of Windows or Mac in use.
    If this is a time-sensitive matter, our US-based technical support team is standing by, ready to help 24/7 via Email at http://bit.ly/EmailCanon or by phone at 1-800-OK-CANON (1-800-652-2666) weekdays between 10 AM and 10 PM ET (7 AM to 7 PM PT).
    Thanks and have a great day!

  • Calendar adds an extra day when creating an event in ios 8.1.3. Is this a known bug?

    When i add an event using the calendar app in ios 8.1.3, it adds an extra day to the event when using a range of dates. I am able to recreate the problem. when entering the event i select a range of dates and confirm that it is what i want. after submitting, i verify and it has added an extra day at the end. Is this a known bug or am i on my own? Help please. this is annoying having to check each event after entering it.

    Ive reset, restored and this is the second phone. Thought it maybe a wonky screen that would shift it while setting dates. THe only thing I can think of is that I am syncing with google calendar, but it only happens when setting events in ios not if i do it from google website on desktop PC.

Maybe you are looking for

  • Photoshop CS4 Crashes When Deleting In Explorer Window

    I'm running Windows 7 with gigs of hard drive space and 9 gigs of fast RAM. Whenever I open a file in Photoshop CS4 Extended (v.11.0.1) the "Open" file explorer window pops up and I then navigate to any image folder. If I'm in this window and see any

  • Planning application to production application

    Hi, can we copy the development planning application to production application.(i want to copy the outline),because we made changes in dev outline after migrating to production. please guide me how to do it. Bunny

  • Runtime workbench

    I have a query. I am working as SAP XI consultant in leading EAI organization.I am working with environment in TIBCO, So now my query is, Java team developed one monitoring component to monitor TIBCO, that component i want to add into in SAP xi -Runt

  • Photoshop CS4 and scanning via Twain scanners

    I will shortly be building my new Windows 7 64 bit high end machine, and installing CS4 64 bit on that machine. I have several scanners, which appear to have available suitable drivers for Windows 7 64 bit. But from what I am reading, CS4 64 bit does

  • Wallpaper issues under openbox

    I know how to set the wallpaper (in a number of ways, even). That's not the issue. I'm running Arch under VirtualBox, with the guest additions installed. This allows magically setting the resolution when I change the size of the virtual screen. Unfor