Regular Expression replacement not working

I am trying to use a regular expression to replace non-ascii characters on a file, and I'm afraid I've reached the end of my regex knowledge. 
Here is the specific code
'Set the Regular Expression paramaters
Set RegEx = CreateObject("VBScript.Regexp")
RegEx.Global = True
RegEx.Pattern = "[^\u0000-\u007F]"
RegEx.IgnoreCase = True
'Replace the UTF-8 characters
ReplacedText = RegEx.Replace(FileText, "\u0020")
If I understand regular expressions correctly the pattern of "[^\u0000-\u007F]" should replace any character that is not an ascii character, and then replace it with a space (which I understand is "\u0020").  What am I doing wrong?

Simply use
ReplacedText = RegEx.Replace(FileText, " ")
Regards, Hans Vogelaar (http://www.eileenslounge.com)

Similar Messages

  • Regular expression does not work in IE

    Hi,
    I'm having a regular expression which should check the content of an inputText field: it should contain a number, a character and the size should be at least 6. It's working when I test it in FireFox but it always fails to succeed in IE:
              <af:inputText>
                <af:validateRegExp pattern="^(?=.*[a-zA-Z])(?=.*[0-9])[a-zA-Z0-9]{6,24}$"
                                   noMatchMessageDetail="Does not match."/>
              </af:inputText>How comes it does not work in IE (6.0)?
    JDeveloper 10.1.3.3
    Thanks in advance,
    Koen Verhulst

    hi Koen
    The web page you refer to ...
    http://www.fileformat.info/tool/regex.htm
    ... seems to be doing server side Java regular expressions (and as such will behave the same in both FF and IE).
    The af:validateRegExp component you want to use does client side evaluation of the regular expression, using scripting, hence the apparent difference between FF and IE.
    There is also this web page ...
    http://www.regular-expressions.info/javascriptexample.html
    ... that seems to behave similar to the markup and scripting resulting from the af:validateRegExp component.
    Besides the value "2abcdef" there seem to be others that are accepted by IE for the regular expression "^(?=.*[a-zA-Z])(?=.*[0-9])[a-zA-Z0-9]{6,24}$", values like these:
    "a2abcdef", "a2abcde", "abcdef2abcde", "2a3cdef", "2a34567"
    Although these values are not accepted by IE (but are accepted in FF):
    "2abcde", "23bcdef"
    success
    Jan

  • Regular expression - Replace not like

    Hi All,
    Is there a regexp pattern to replace anything other than 'oracle' from the below string.
    "oracle sdsd oracle xyd fgh oracle idmdh asasas trtrt"
    The result will be "oracleoracleoracle"
    If I want to write like regexp_replace('oracle sdsd oracle xyd fgh oracle idmdh asasas trtrt',<pattern>), what should be the pattern?
    I know how to get the result by nesting regexp and other functions.
    But is there any single pattern for this?
    Thanks in advance.
    Note; This is not a business requirement, trying to learn regexp..

    884476 wrote:
    Could you please explain what does that pattern mean? We can look at your string as a sequence of substrings where each substring is set of characters (part A) followed by word oracle or, in last substring, by end-of-line (part B). Each of such substrings be want to replace with part B thus removing part A.
    Dot (.) means any character. Asterisk (*) means repeated 0 or more times. This is our part A (I'll get back to ? later). Pipe (|) means OR. Dollar sigh ($) means end-of-line. Parenthesis mean grouping. So ((oracle)|$) means string oracle or end-of line. This is our part B. Now back to question mark. By default Oracle regular expressions are "greedy". We say any character repeated any number of times followed by word oracle. Since word oracle itself matched definition of any character repeated any number of times (6 in this case) regexp will match it that way that it will be from the beginning of the string to last occurrence of word oracle - that's why it is called "greedy". Question mark (?) tells regexp not to use greedy matching, therefore '.*?oracle' will stop at first occurrence of word oracle. Now replacement string. Notation \1 is grouping backreference. Group 1 is ((oracle)|$) and, as I already noted, means string oracle or end-of line (whichever was found).
    SY.

  • SQL-Tokenizer based on regular-expressions does not work

    I'm on 10gR2
    Following SQL-Tokenizer converts string :str to rows using :delim as the delimiter-char (:str and :delim are parameters):
    select level, regexp_replace(regexp_substr( :in_str || :in_delimiter, '(.*?)' || :in_delimiter, 1, level ), :in_delimiter, '') as token
    from dual
    connect by regexp_instr( :in_str || :in_delimiter, '(.*?)' || :in_delimiter, 1, level ) > 0
    order by level asc ;
    When using the pipe-symbol "|" as the delimiter, it doesn't work; the rows are processed, but the tokens are null. Using an other char as delimiter (e.g. ";") works fine.
    :str = "123;456;A1;67X;0;-8" & :delim = ";" => works fine
    :str = "123|456|A1|67X|0|-8" & :delim = "|" => does not work
    I think the bug is in the regexp-parameter for the pattern, isn't it?
    Why doesn't work the pipe-symbol as delimiter?
    Can anybody give me a hint for using the correct regexp-pattern?
    thx
    Nuerni

    select level, rtrim(regexp_substr( :in_str || :in_delimiter, '(.*?)' || :in_delimiter, 1, level ),:in_delimiter ) as token
    from dual
    connect by regexp_instr( :in_str || :in_delimiter, '(.*?)' || :in_delimiter, 1, level ) > 0
    order by level asc ;use a rtrim instead of regexp_replace then it works...
    Ravi Kumar

  • Hi, The Airport Express does not work with iOS 7.0.4, I appreciate your help to resolve this event. Thank you,

    Hi, The Airport Express does not work with iOS 7.0.4, I appreciate your help to resolve this event. Thank you,

    Please locate the model number of the AirPort Express and post back that information.
    The model number is located on the side of the AirPort Express. It begins with an "A" followed by four numbers.
    We are not sure what you mean by "does not work".  Does this mean that the AirPort Express worked at one time and has just recently stopped working?
    Have you installed a newer operating system on your iOS device recently?
    Or, is this a new AirPort Express that you are trying to configure for the first time?
    If yes, what service will the AirPort Express perform on your network?
    Please remember that we cannot see your network, so we only know as much about your problem as you can tell us.

  • Need Help...my wireless airport express will not work with my update of snow leopard

    after installing snow leopard on my macbook pro my airport express will not work...or will connect only for a minute at a time.

    If you mean by "airport express" the square airport router you plug in and has a usb port then run the Airport Utility located in your Utilities folder to set it up again. If AU doesn't see it you may need to do a re-set of the AE.

  • Aggregation in column expression is not working in 11.1.1.7.1

    Hi Guru's,
    After upgrading the application from 11.1.1.6.8 to 11.1.1.7.1 Aggregations in the column expression is not working. I was using the below formula in the column expression
    100.0* (Sum((CASE WHEN Service Level >= 60 THEN 1 ELSE 0 END)) / COUNT(DISTINCT(HOUR_INTERVAL)))
    I am getting the answer but the values are very high compare. I tried using just Sum((CASE WHEN Service Level >= 60 THEN 1 ELSE 0 END) it also giving very high values.
    Please let me know is there is a bug or something need to setup.
    Regards
    @li

    bug 16616127 has been fixed in 11.1.1.7.1
    make sure you refresh the catalog to upgrade to your version

  • Regular Expression/Replace - Oracle 7.3

    Hi!
    I am trying the regular expression SQL functions of 10g to Oracle 7.3 and it seems the older version does not cover this feature yet.
    "Aaaa,Bbbb" --> "Aaaa, Bbbb"
    REPLACE *",[0-9A-Za-z]"* WITH *", "*
    The string pattern is to look for comma-punctuations that is not followed immediately by whitespacess so I can replace this with a comma followed by a whitespace.
    Any workaround for this?

    Hi,
    Welcome to the forum!
    kitsune wrote:
    Hi!
    I am trying the regular expression SQL functions of 10g to Oracle 7.3 and it seems the older version does not cover this feature yet.You're right; regular expressions only work in Oracle 10.1 and higher.
    >
    >
    "Aaaa,Bbbb" --> "Aaaa, Bbbb"
    REPLACE *",[0-9A-Za-z]"* WITH *", "*
    The string pattern is to look for comma-punctuations that is not followed immediately by whitespacess so I can replace this with a comma followed by a whitespace.
    Any workaround for this?You're best bet in Oracle 7.3 would be a user-defined function. That's a very old version; don't expect much.
    Do you know anything else about the string? For example, is there some character (say ~) that never occurs in the string? Will there ever be two (or more) whitespace characters after punctuation? What characters do you consider to be whitespace? Which are punctuation? Depending on the answers, you might be able to do something with nested REPLACE and/or TRANSLATE functions.

  • Regular expression does not execute runtime

    Hello adobe collegue's,
    I am currently stumbling on a strange issue regarding javascript embedded to compress a string:
    // main function to compress any string, removing all non-word characters and making the string all lowercase
    function compressString(input){
        var patt=new RegExp("\\W","g");
        patt.compile(patt);
        var output = input.toLowerCase().replace(patt,"")+"YESS";
        return output;
    Somehow this code does execute perfectly while previewing in adobe designer 9.0.0.2 but runtime all javascript does execute except for the part mentioned above.
    I know this part is executed because in the result i see the string "YESS" added to the response of this function.
    Somehow the pattern is not compiled, or executed runtime...
    I also tried more simple regular expressions but none of them actually worked.
    For the templates the option client is set where to execute the javascript, although while testing the options to solve the issue is also tried settings both and server. None provided the solution.
    Can someone provide any help...it's appreciated!
    Thanks,
    Marcel

    Hi,
    you can make your function more simple.
    function compressString(input){
              return input.toLowerCase().replace(/\W/g,"") + "YESS";

  • Regular expression - Replace a part of an expression

    Dear All,
    This is not a business requirement, just trying to practice regexp.
    Suppose we want to replace a part of a regular expression from a string. As an example, in the string 'THIS Number 124356 Is to Change.This Number 5 Also', I am trying to replace the last digit of each number with $ sign.
    Output will be
    'THIS Number 12435$ Is to Change.This Number $ Also'.
    Will this be possible using a single regexp_replce?
    Thanks in advance.

    MichaelS wrote:
    I am trying to achieve this using a SINGLE regexp_replace.Here we go:
    SQL> with t as (
    select 'ABC124556def568gh236klJ258' str from dual union all
    select 'THIS Number 124356 Is to Change.This Number 5 Also' str from dual
    select str, regexp_replace(str, '(\d{0,})\d{1}', '\1$') str2
    from t
    STR                                                     STR2                                                  
    ABC124556def568gh236klJ258                              ABC12455$def56$gh23$klJ25$                            
    THIS Number 124356 Is to Change.This Number 5 Also      THIS Number 12435$ Is to Change.This Number $ Also    
    2 rows selected.
    Nice..
    Learning for me ..
    Never thought of usage like {0,} ... kepping the end value OPEN.
    I was trying with \d+?\d, which was not working..

  • Regular Expression / replace Function Help

    The problem:
    cfset myString = "i am a big boy"
    cfset outputString = replace("i am a big
    boy","i","you","all")
    Wrong Output:
    you am a byoug boy
    Intended Output
    you am a big boy
    How do I achive that output.

    Your first example had only one sentence. That's why I gave
    that answer.
    Anyway for your real question, you need to use regular
    expressions
    #rereplace(myString,"i\s","you ","all")# - will give u
    you am a big boy you am a big boy you am a big boy you am a
    big boy.
    \s looks for a whitespace character after the letter i. So
    that way it will not change the letter i in big

  • Match Regular Expression does not match what Match Pattern does

    I have read through a lot of posts about how Match Pattern does not match what Match Regular Expression will due to not processing some characters.
    However, I found a problem with the other way. A simple Reg-Ex that works in Match Pattern but not Match Regular Expression.
    What I have here is just an example. I want to use Match Regular Expression so I can specify some sub-matches.
    The reg-ex is for: one or more non-numeric characters, a space, one or more numeric characters. At the start of the string.
    How can I get this working in Match Regular Expression? I am working in LabVIEW 2010f2 32 bit. Here is the code snippet and the results:
    Rob
    Solved!
    Go to Solution.

    Robert Cole wrote:
    I think I prefer the ~ for negation since ^ is also used for beginning of the string. But we work with what we have.
    Let me offer you a tip and perhaps defend the honor of the regex a little bit.  One of my favorite features of regexes is the ability to specify character classes (and their negation).  One of the reasons I have to think about the ~ versus ^ is that I rarely use ^ in a regex alternative. 
    Some examples:
    [0-9] = \d (digit)
    [^0-9] = \D (not a digit)
    The equivalent regex for your case is: \D+ \d+

  • USB/eSata express card not working on stock kernel

    Hello everyone,
    I have a weird problem and I don't seem to find any solution by myself. Let me give you some background info on what I plan to do.
    I purchased an express card to eSata/USB 3.0 adapter and want to make it work on my laptops. Precisely, it is this card: http://www.amazon.de/Notebook-Express-C … B007F8TXZ8
    1: Lenovo X200s (1,6GHz) running Ubuntu 14.04 amd64
    2: Lenovo X200s (1,6GHz) running Debian 7 amd64
    3: Lenovo X200T (1,6GHz) running ArchLinux amd64
    The card does work fine only on the Ubuntu machine. I would like to make it run on the two other ones as well. I thought I might get help here getting it to work on machine 3 and then transfer the results to machine 2. What really matters to me is eSata, btw, I do not even have a USB 3.0 device to test with.
    First of all, here's what happens when I plug the card into machine 1:
    user@1-ubuntu:~$ uname -r
    3.13.0-39-generic
    user@1-ubuntu:~$ dmesg | tail -n 44 # that's where it begins
    [ 1953.576472] pciehp 0000:00:1c.3:pcie04: Card present on Slot(3)
    [ 1953.728077] pci 0000:05:00.0: [1b21:1042] type 00 class 0x0c0330
    [ 1953.728119] pci 0000:05:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
    [ 1953.728304] pci 0000:05:00.0: PME# supported from D3hot
    [ 1953.736062] pci 0000:05:00.0: BAR 0: assigned [mem 0xf0000000-0xf0007fff 64bit]
    [ 1953.736087] pcieport 0000:00:1c.3: PCI bridge to [bus 05-0c]
    [ 1953.736092] pcieport 0000:00:1c.3: bridge window [io 0x2000-0x2fff]
    [ 1953.736098] pcieport 0000:00:1c.3: bridge window [mem 0xf0000000-0xf1ffffff]
    [ 1953.736104] pcieport 0000:00:1c.3: bridge window [mem 0xf2900000-0xf29fffff 64bit pref]
    [ 1953.736133] pci 0000:05:00.0: no hotplug settings from platform
    [ 1953.736143] pci 0000:05:00.0: enabling device (0000 -> 0002)
    [ 1953.736398] xhci_hcd 0000:05:00.0: xHCI Host Controller
    [ 1953.736406] xhci_hcd 0000:05:00.0: new USB bus registered, assigned bus number 9
    [ 1953.743621] xhci_hcd 0000:05:00.0: irq 46 for MSI/MSI-X
    [ 1953.743629] xhci_hcd 0000:05:00.0: irq 49 for MSI/MSI-X
    [ 1953.743635] xhci_hcd 0000:05:00.0: irq 50 for MSI/MSI-X
    [ 1953.743784] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
    [ 1953.743788] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1953.743791] usb usb9: Product: xHCI Host Controller
    [ 1953.743794] usb usb9: Manufacturer: Linux 3.13.0-39-generic xhci_hcd
    [ 1953.743796] usb usb9: SerialNumber: 0000:05:00.0
    [ 1953.743973] hub 9-0:1.0: USB hub found
    [ 1953.743990] hub 9-0:1.0: 2 ports detected
    [ 1953.744147] xhci_hcd 0000:05:00.0: xHCI Host Controller
    [ 1953.744153] xhci_hcd 0000:05:00.0: new USB bus registered, assigned bus number 10
    [ 1953.744218] usb usb10: New USB device found, idVendor=1d6b, idProduct=0003
    [ 1953.744221] usb usb10: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1953.744224] usb usb10: Product: xHCI Host Controller
    [ 1953.744227] usb usb10: Manufacturer: Linux 3.13.0-39-generic xhci_hcd
    [ 1953.744229] usb usb10: SerialNumber: 0000:05:00.0
    [ 1953.744366] hub 10-0:1.0: USB hub found
    [ 1953.744383] hub 10-0:1.0: 2 ports detected
    [ 1954.447851] usb 10-1: new SuperSpeed USB device number 2 using xhci_hcd
    [ 1954.460505] usb 10-1: Parent hub missing LPM exit latency info. Power management will be impacted.
    [ 1954.461215] usb 10-1: New USB device found, idVendor=174c, idProduct=5106
    [ 1954.461219] usb 10-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
    [ 1954.461222] usb 10-1: Product: AS2105
    [ 1954.461225] usb 10-1: Manufacturer: ASMedia
    [ 1954.461228] usb 10-1: SerialNumber: 00000000000000000000
    [ 1954.463146] usb-storage 10-1:1.0: USB Mass Storage device detected
    [ 1954.463279] scsi7 : usb-storage 10-1:1.0
    [ 1955.460385] scsi 7:0:0:0: Direct-Access ASMT 2105 0 PQ: 0 ANSI: 5
    [ 1955.465099] sd 7:0:0:0: Attached scsi generic sg1 type 0
    [ 1955.466483] sd 7:0:0:0: [sdb] Attached SCSI removable disk
    I wouldn't know of any attached disks, and neither does it show up. Note that it is only the card I plugged in, no hard drive attached to it.
    hburg1234@packrehsel:~$ lspci -k
    00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
    Subsystem: Lenovo Device 20e0
    Kernel driver in use: agpgart-intel
    00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    Subsystem: Lenovo Device 20e4
    Kernel driver in use: i915
    00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
    Subsystem: Lenovo Device 20e4
    00:03.0 Communication controller: Intel Corporation Mobile 4 Series Chipset MEI Controller (rev 07)
    Subsystem: Lenovo Device 20e6
    Kernel driver in use: mei_me
    00:03.3 Serial controller: Intel Corporation Mobile 4 Series Chipset AMT SOL Redirection (rev 07)
    Subsystem: Lenovo Device 20ec
    Kernel driver in use: serial
    00:19.0 Ethernet controller: Intel Corporation 82567LM Gigabit Network Connection (rev 03)
    Subsystem: Lenovo Device 20ee
    Kernel driver in use: e1000e
    00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
    Subsystem: Lenovo Device 20f0
    Kernel driver in use: uhci_hcd
    00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
    Subsystem: Lenovo Device 20f0
    Kernel driver in use: uhci_hcd
    00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
    Subsystem: Lenovo Device 20f0
    Kernel driver in use: uhci_hcd
    00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
    Subsystem: Lenovo Device 20f1
    Kernel driver in use: ehci-pci
    00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
    Subsystem: Lenovo Device 20f2
    Kernel driver in use: snd_hda_intel
    00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
    Kernel driver in use: pcieport
    00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
    Kernel driver in use: pcieport
    00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03)
    Kernel driver in use: pcieport
    00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
    Subsystem: Lenovo Device 20f0
    Kernel driver in use: uhci_hcd
    00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
    Subsystem: Lenovo Device 20f0
    Kernel driver in use: uhci_hcd
    00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
    Subsystem: Lenovo Device 20f0
    Kernel driver in use: uhci_hcd
    00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
    Subsystem: Lenovo Device 20f1
    Kernel driver in use: ehci-pci
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
    00:1f.0 ISA bridge: Intel Corporation ICH9M-E LPC Interface Controller (rev 03)
    Subsystem: Lenovo Device 20f5
    Kernel driver in use: lpc_ich
    00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
    Subsystem: Lenovo Device 20f8
    Kernel driver in use: ahci
    00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
    Subsystem: Lenovo Device 20f9
    03:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] Network Connection
    Subsystem: Intel Corporation WiFi Link 5100 AGN
    Kernel driver in use: iwlwifi
    05:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
    Subsystem: Device 174c:2104
    Kernel driver in use: xhci_hcd
    The last one seems to be important to me, so here's a verbose output on that one.
    user@1-ubuntu:~$ lspci -v | tail -n 8
    05:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller (prog-if 30 [XHCI])
    Subsystem: Device 174c:2104
    Physical Slot: 3
    Flags: bus master, fast devsel, latency 0, IRQ 19
    Memory at f0000000 (64-bit, non-prefetchable) [size=32K]
    Capabilities: <access denied>
    Kernel driver in use: xhci_hcd
    user@1-ubuntu:~$ sudo udevadm monitor -k
    monitor will print the received events for:
    KERNEL - the kernel uevent
    KERNEL[2585.956558] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0 (pci)
    KERNEL[2585.972086] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb9 (usb)
    KERNEL[2585.972116] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb9/9-0:1.0 (usb)
    KERNEL[2585.975736] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10 (usb)
    KERNEL[2585.975763] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-0:1.0 (usb)
    KERNEL[2586.689218] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1 (usb)
    KERNEL[2586.690935] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0 (usb)
    KERNEL[2586.695723] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9 (scsi)
    KERNEL[2586.695757] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/scsi_host/host9 (scsi_host)
    KERNEL[2587.692633] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0 (scsi)
    KERNEL[2587.692667] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0 (scsi)
    KERNEL[2587.692691] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0/scsi_disk/9:0:0:0 (scsi_disk)
    KERNEL[2587.692708] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0/scsi_device/9:0:0:0 (scsi_device)
    KERNEL[2587.692824] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0/scsi_generic/sg1 (scsi_generic)
    KERNEL[2587.692898] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0/bsg/9:0:0:0 (bsg)
    KERNEL[2587.699636] add /devices/virtual/bdi/8:16 (bdi)
    KERNEL[2587.699771] add /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0/block/sdb (block)
    KERNEL[2587.703694] change /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0/block/sdb (block)
    KERNEL[2587.709178] change /devices/pci0000:00/0000:00:1c.3/0000:05:00.0/usb10/10-1/10-1:1.0/host9/target9:0:0/9:0:0:0/block/sdb (block)
    Apart from the supposedly found block device (can't judge) I am not sure if there is anything that is really eSata specific and not USB 3.0 related.
    So far what I think I can tell from the output is that the modules
    pciehp pci pcieport
    seem to be dealing with the express card as such whereas
    xhci_hcd
    takes care of USB 3.0. I cannot see any clear reference to the eSata connector, which might not be surprising if the bus is just passed through (again: not sure).
    For completeness' sake here comes the output of
    user@1-ubuntu:~$ lsmod | tee before
    Module Size Used by
    ctr 13049 1
    ccm 17773 1
    pci_stub 12622 1
    vboxpci 23194 0
    vboxnetadp 25670 0
    vboxnetflt 27613 0
    vboxdrv 339502 3 vboxnetadp,vboxnetflt,vboxpci
    cuse 13445 3
    dm_crypt 23177 1
    btusb 32412 0
    cdc_ether 14351 0
    usbnet 43913 1 cdc_ether
    cdc_acm 28803 0
    mii 13934 1 usbnet
    cdc_wdm 19053 0
    rfcomm 69160 8
    bnep 19624 2
    bluetooth 391136 22 bnep,btusb,rfcomm
    binfmt_misc 17468 1
    coretemp 13435 0
    kvm_intel 143148 0
    kvm 451729 1 kvm_intel
    thinkpad_acpi 81013 0
    nvram 14411 1 thinkpad_acpi
    serio_raw 13462 0
    arc4 12608 2
    snd_seq_midi 13324 0
    snd_seq_midi_event 14899 1 snd_seq_midi
    snd_hda_codec_conexant 57441 1
    iwldvm 232285 0
    snd_hda_intel 56451 3
    mac80211 630653 1 iwldvm
    snd_hda_codec 192906 2 snd_hda_codec_conexant,snd_hda_intel
    snd_hwdep 13602 1 snd_hda_codec
    snd_rawmidi 30144 1 snd_seq_midi
    lpc_ich 21080 0
    iwlwifi 169932 1 iwldvm
    snd_seq 61560 2 snd_seq_midi_event,snd_seq_midi
    snd_pcm 102099 2 snd_hda_codec,snd_hda_intel
    mei_me 18627 0
    cfg80211 484040 3 iwlwifi,mac80211,iwldvm
    snd_page_alloc 18710 2 snd_pcm,snd_hda_intel
    mei 82276 1 mei_me
    snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
    snd_timer 29482 2 snd_pcm,snd_seq
    snd 69322 17 snd_hwdep,snd_timer,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_seq_device,snd_seq_midi
    soundcore 12680 1 snd
    parport_pc 32701 0
    ppdev 17671 0
    mac_hid 13205 0
    tp_smapi 28367 0
    thinkpad_ec 14449 1 tp_smapi
    lp 17759 0
    parport 42348 3 lp,ppdev,parport_pc
    i915 783961 2
    psmouse 106714 0
    ahci 25819 3
    libahci 32716 1 ahci
    i2c_algo_bit 13413 1 i915
    e1000e 254433 0
    drm_kms_helper 55071 1 i915
    drm 303102 3 i915,drm_kms_helper
    ptp 18933 1 e1000e
    pps_core 19382 1 ptp
    video 19476 1 i915
    wmi 19177 0
    and a list of the newly loaded modules:
    user@1-ubuntu:~$ diff before <(lsmod)
    1a2
    > usb_storage 62209 0
    Now, on my Arch machine the situation is as follows when the card is plugged in:
    user@3-arch:~$ uname -r
    3.17.2-1-ARCH
    user@3-arch:~$ sudo udevadm monitor -k
    monitor will print the received events for:
    KERNEL - the kernel uevent
    user@3-arch:~$ lsmod
    Module Size Used by
    sr_mod 21903 0
    cdrom 47479 1 sr_mod
    hid_generic 12393 0
    usbhid 48603 0
    hid 102220 2 hid_generic,usbhid
    cdc_ether 12564 0
    usbnet 34978 1 cdc_ether
    cdc_acm 30362 0
    cdc_wdm 17427 0
    mii 12675 1 usbnet
    ctr 12927 0
    ccm 17534 0
    fuse 87410 3
    joydev 17063 0
    wacom_w8001 12706 0
    serport 12842 1
    mousedev 17272 0
    iTCO_wdt 12831 0
    iTCO_vendor_support 12649 1 iTCO_wdt
    coretemp 12820 0
    kvm 417429 0
    pcspkr 12595 0
    psmouse 107214 0
    evdev 21544 20
    mac_hid 12633 0
    serio_raw 12849 0
    i2c_i801 16965 0
    snd_hda_codec_conexant 21835 1
    snd_hda_codec_generic 63126 1 snd_hda_codec_conexant
    arc4 12536 2
    iwldvm 184847 0
    mac80211 604456 1 iwldvm
    i915 905750 2
    lpc_ich 20768 0
    iwlwifi 156837 1 iwldvm
    snd_hda_intel 26387 0
    snd_hda_controller 26938 1 snd_hda_intel
    cfg80211 445286 3 iwlwifi,mac80211,iwldvm
    thinkpad_acpi 69074 0
    e1000e 215686 0
    snd_hda_codec 108536 4 snd_hda_codec_conexant,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
    drm_kms_helper 80934 1 i915
    shpchp 35210 0
    snd_hwdep 17244 1 snd_hda_codec
    snd_pcm 88487 3 snd_hda_codec,snd_hda_intel,snd_hda_controller
    ptp 17692 1 e1000e
    pps_core 17225 1 ptp
    snd_timer 26614 1 snd_pcm
    wmi 17339 0
    drm 259106 4 i915,drm_kms_helper
    nvram 13034 1 thinkpad_acpi
    thermal 17559 0
    snd 73436 8 snd_hwdep,snd_timer,snd_hda_codec_conexant,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi
    soundcore 13031 2 snd,snd_hda_codec
    led_class 12859 2 iwldvm,thinkpad_acpi
    rfkill 18867 3 cfg80211,thinkpad_acpi
    ac 12715 0
    hwmon 12930 2 coretemp,thinkpad_acpi
    acpi_cpufreq 17218 1
    battery 17452 0
    i2c_algo_bit 12744 1 i915
    mei_me 17900 0
    tpm_tis 17182 0
    i2c_core 50152 5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
    tpm 31467 1 tpm_tis
    mei 75079 1 mei_me
    intel_agp 17432 0
    intel_gtt 17848 3 i915,intel_agp
    video 18043 1 i915
    processor 27777 3 acpi_cpufreq
    button 12953 1 i915
    sch_fq_codel 17343 6
    tp_smapi 27621 0
    thinkpad_ec 12813 1 tp_smapi
    ext4 497696 3
    crc16 12343 1 ext4
    mbcache 17171 1 ext4
    jbd2 86417 1 ext4
    sha256_ssse3 25692 2
    sha256_generic 16804 1 sha256_ssse3
    ecb 12737 0
    cbc 12696 1
    algif_skcipher 17051 0
    af_alg 12988 1 algif_skcipher
    dm_crypt 22551 1
    dm_mod 93490 15 dm_crypt
    sd_mod 44398 3
    crct10dif_generic 12581 1
    crc_t10dif 12431 1 sd_mod
    crct10dif_common 12356 2 crct10dif_generic,crc_t10dif
    atkbd 22254 0
    libps2 12739 2 atkbd,psmouse
    ata_generic 12490 0
    ahci 33291 2
    libahci 27158 1 ahci
    pata_acpi 12771 0
    uhci_hcd 43507 0
    ehci_pci 12512 0
    ehci_hcd 69939 1 ehci_pci
    libata 181518 4 ahci,pata_acpi,libahci,ata_generic
    usbcore 199381 9 uhci_hcd,ehci_hcd,ehci_pci,usbhid,usbnet,cdc_acm,cdc_wdm,cdc_ether
    usb_common 12440 1 usbcore
    scsi_mod 147543 3 libata,sd_mod,sr_mod
    i8042 18002 1 libps2
    serio 18282 9 serio_raw,atkbd,i8042,serport,wacom_w8001,psmouse
    Sticking to my suspicion that this might just be a USB related issue and eSata might still work due to some sort of passthrough, I attached the very eSata drive that I could mount on Ubuntu. It did not work.
    I then researched and found this blog post: http://okomestudio.net/biboroku/?p=1360
    So I downloaded the pkgbuild for the arch linux core kernel and checked the config. It matched the recommendations.
    Another hint I found was to unload acpiphp and force-reload it. However, this tip does not seem to apply to the arch kernel:
    [user@3-arch:~$ sudo rmmod acpiphp
    rmmod: ERROR: Module acpiphp is builtin.
    Anyone any idea on how to make the card work?
    Thank you!
    Last edited by archery1234 (2014-11-15 10:46:35)

    For anyone else seeking help on that: Card slot was deactivated in 2/3 Bioses.

  • Lookup expression is not working when I am using with in the rectangle box in SSRS

    I have two datasets with common member is ProgramID.
    I have followed the below steps,
    1. Added one table  (2x2) and mapped this table to dataset1. After that I have removed top row.                                               
    That means I am maintaing only  data row.
    2. Added group to the table (ProgramID). Now the programid is sitting at cell#(1,1) and  cell#(1,2) is blank
    3. I have verified the report with preview and able to see the data for my all programs. I have 5 programs
    4. my plan is adding chart and matrix reports to cell# (1,2). If I am adding chart/matrix to the cell#(1,2) then we can't contol the  cell alignments in terms of height x width.
     To resolve that problem, I have added one rectangle control to the cell#(1,2) then I have added my chart and matrix report
    5. After completing the report, I have verified with preview and able to see the reports (chart/matrix) for all my 5 programs by page wise (note: I have provided page break before for my rectangle)
    6. Till this point, I have no issues
    7. Now, I have added one more row under the group. so, we have our main table (2x2). Becuase of programId group we can only see 3 cells in total table  (cell# (1,1) =ProgramId  cell#(1,2)=chart and matix reports under rectangle box; cell#(2,1)=already
    merged with ProgramID group; cell#(2,2)= planned to add one more rectanlge and add two reports (chart and matrix)
    8. Now, i have added rectangle to cell#(2,2) then added chart and matrix reports within the rectangle.
    9. cell#(2,2) reports are needs to extract the data from dataset-2. Here we have common member is ProgramID (ds-1,ds-2)
    10. First I have tested for matrix report by adding lookup expression
          Matrix report (2x2)
         row-1: Cell(1,1)= Gender report heading ; cell(1,2)=Month  (column group)
         Note: month is also common member in both the datasets. 
         row-2: cell(2,1)--  =Lookup(Programid.value, Programid.value,Gender.value,"Dataset2")  (Gender data is Male and Female)
                    Cell(2,2) -- empty for now
     11. I have tried to preview the report and able to see the report without any issues and below are observations
            main Table (2 x2)
             Cell# (1,1)  = ProgramID --Returning all 5 programs properly
             Cell# (1,2)  = Dataset1 related report (chart and matrix reports under rectangle) -- able to see without any issues
             Cell#(2,1)  = We already know this is merged cell. i.e menas ProgramID dispalying
              Cell#(2,2)= Only Male record is dispalying in the matrix report which is under rectanlge (here we have applied Lookup expression.
    Note: male is the first record from the database and Female is the second record
    Also, observed that Cell#(2,2) matrix report is unable to display the gender count information when I have provided count value expression in the cell(2,2) within the matrix and the expression I have uses is
      = sum(Lookup(ProgramId.value,ProgramId.value,GenderCOunt.value,"Dataset2"))
    Please ask me if I am unable to explain or lengthy explain.
    Point : Why the lookup expression is giving the first record only (in case of gender #(male, female) and why it is unable to give the gendercount.  Gendercount cell is totally blank.
    Please help me.
    Kishore.

    Hi Kishore,
    I have tested the issue step by step by following you description, while the first issue works well in my local environment. Based on my research, this can be caused by the lookup expression or it indeed return Male value based on the logic. If you use the
    expression below, it will indeed only return the Male record. So please try to double-check the record in the two datasets and the expression in your environment:
    =lookup(first(Fields!ProgramID.Value,"DataSet1"),Fields!ProgramID.Value,Fields!Gender.Value,"DataSet2")
    As to the second issue, please try to use the following expression:
    =Count(Lookup(fields!ProgramID.value,fields!ProgramID.value,fields!Gender.value,"DataSet2"))
    Besides, if this issue still exist, in order to trouble shoot this issue more efficiently, could you please post both the .rdl  file with all the size properties to us by the following E-mail address?  It is benefit for us to do further analysis.
    E-mail: [email protected]
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Dreamweaver CS6 "Find and Replace" not working

    Since I've started working in DW CS6 I've noticed that the Find and Replace feature isn't working completely.
    E.g. If I select a block of code, then open Find and Replace, tell it to find "<br />" and replace it with "</li>" it only replaces the first instance. The rest of the <br />'s are still <br />'s.
    Is this happening to anyone else? I may have to switch back to CS5.

    bracdiver wrote:
    ** ANSWER/Workaround
    Change the selection in the 'Search:' dropdown from the default 'Source:'  to 'Text' or 'Text (Advanced)' and you will get the desired result.
    bracdiver, your post may be useful in some examples, like the ones I posted above. However, this does not work in my intended example below (which is source code specific), where the actual source code needs to be replaced:
    Sample
         <p>These are true or false questions. Place your answer on the blank under each question.</p>
    <ol>
        <li>There are twelve in a baker's dozen</li>
        <li>35% of people are going to school.</li>
        <li>There are seven books in the Harry Potter series.</li>
        <li>The longest running play is "Les Miserables"</li>
        <li>There is no blank under this question. <i>Answer beside this question instead.</i></li>
    </ol>
    Using these options
    Find in: Selected Text (first four list items)
    Search: Source code:
    Find: </li>
    Replace: <br />___________________</li>
    Options enabled: Match case
    Desired output:
    <p>These are true or false questions. Place your answer on the blank under each question.</p>
    <ol>
        <li>There are twelve in a baker's dozen<br />___________________</li>
        <li>35% of people are going to school.<br />___________________</li>
        <li>There are seven books in the Harry Potter series.<br />___________________</li>
        <li>The longest running play is "Les Miserables"<br />___________________</li>
        <li>There is no blank under this question. <i>Answer beside this question instead.</i></li>
    </ol>
    CS6 DW output:
    <p>These are true or false questions. Place your answer on the blank under each question.</p>
    <ol>
        <li>There are twelve in a baker's dozen<br />___________________</li>
        <li>35% of people are going to school.</li>
        <li>There are seven books in the Harry Potter series.</li>
        <li>The longest running play is "Les Miserables"</li>
        <li>There is no blank under this question. <i>Answer beside this question instead.</i></li>
    </ol>
    Using your workaround (with 'Inside Tag' option set to li), this will not work as does not change any text at all.

Maybe you are looking for

  • The enterprise portal book

    hi all Which is the best book available on Enterprise Portal something that is an equivalent to "Inside Webdynpro for Java"? As i understand from the forums, EP is diversified thus i dont mind if you people can enlist books on all the classifications

  • Why am I getting "To update this application, sign in to the account you used to purchase it" when I try to download the iMovie update?

    This is strange.  I have never recieved this error message on any other Software update.  This is a two week old machine.  Why is this happening?

  • FCP 5.1 Quality degradation on EXPORT!!

    Hi all, I'm using a Mac Pro 2.66Ghz w/ a 20" Cinema Display. I'm usually working with a Sony PD-170P & Panasonic NV-GS300. Either shooting 16:9 DVCAM or 16:9 DV footage. When I capture inot FCP, I use the Standard PAL 48khz Anamorphic setting. Questi

  • Horizontal scroll bar problem in Portal????

    Hi Guys, I am facing some problem when i open any thread. Horizontal scrollong bar is coming at the end of the thread. eg: If i have some text in the thread which is more than width of the screen and has some 10 replies to that thread, Then i should

  • Adaptive WebService Import Error

    Dear All, I am new to webservices concept. I am trying to import a webservice from local file system using Model --> Create --> Import Adaptive Web Service... When I select Local File Syatm or URL option and if i click on browse then select the WSDL